changeset 54632:e2815226989d

(setwins, setwins_almost): Change directory to $wd before finding directories by `find'.
author Kenichi Handa <handa@m17n.org>
date Mon, 29 Mar 2004 02:24:50 +0000
parents ec452a2865a8
children d1e68d393f21
files lisp/Makefile.in
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/Makefile.in	Mon Mar 29 00:53:28 2004 +0000
+++ b/lisp/Makefile.in	Mon Mar 29 02:24:50 2004 +0000
@@ -136,17 +136,17 @@
 
 # Common command to find subdirectories
 
-setwins=subdirs=`find $$wd -type d -print`; \
+setwins=subdirs=`(cd $$wd; find . -type d -print)`; \
 	for file in $$subdirs; do \
 	   case $$file in */Old | */RCS | */CVS | */CVS/* | */.* | */.*/* | */=* ) ;; \
-		*) wins="$$wins $$file" ;; \
+		*) wins="$$wins $$wd/$$file" ;; \
 	   esac; \
         done
 
-setwins_almost=subdirs=`find $$wd -type d -print`; \
+setwins_almost=subdirs=`(cd $$wd; find . -type d -print)`; \
 	for file in $$subdirs; do \
 	   case $$file in */Old | */RCS | */CVS | */CVS/* | */.* | */.*/* | */=* | */obsolete | */term ) ;; \
-		*) wins="$$wins $$file" ;; \
+		*) wins="$$wins $$wd/$$file" ;; \
 	   esac; \
         done