summaryrefslogtreecommitdiff
path: root/x11/XFree86-4/files/patch-h
blob: e6ab4a06e81c65a8d283363fa31d1a213c1a5cae (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- config/cf/Imake.rules.orig	Wed Mar  8 00:54:17 2000
+++ config/cf/Imake.rules	Wed Apr 12 18:00:00 2000
@@ -1437,7 +1437,7 @@
 	MakeDir(Concat($(DESTDIR),npath/mdir))				@@\
 	@MakeFlagsToShellFlags(i,set +e); \				@@\
 	if [ -d Concat($(DESTDIR),opath/cdir) ]; then \			@@\
-	  RELPATH=`echo opath/cdir | \					@@\
+	  RELPATH=`cd opath/cdir; pwd | \				@@\
 		sed -e 's:^.::' -e 's:[^/.][^/]*:..:'g`; \		@@\
 	  cd Concat($(DESTDIR),opath/cdir); \				@@\
 	  if [ -d rdir -a ! -h rdir ]; then \ 				@@\
@@ -1484,7 +1484,7 @@
 	MakeDir(Concat($(DESTDIR),npath))				@@\
 	@MakeFlagsToShellFlags(i,set +e); \				@@\
 	if [ -d Concat($(DESTDIR),opath) ]; then \			@@\
-	  RELPATH=`echo opath | \					@@\
+	  RELPATH=`cd opath; pwd | \					@@\
 		sed -e 's:^.::' -e 's:[^/.][^/]*:..:'g`; \		@@\
 	  cd Concat($(DESTDIR),opath); \				@@\
 	  if [ -f lfile -a ! -h lfile ]; then \ 			@@\