summaryrefslogtreecommitdiff
path: root/lisp/Makefile.in
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>2004-03-29 02:25:50 +0000
committerKenichi Handa <handa@m17n.org>2004-03-29 02:25:50 +0000
commit39cc05f572cec0dc17c994120aabf55e2cbbcfd3 (patch)
tree704b2492e87a59c26479638f18472093bec73cc2 /lisp/Makefile.in
parentadb3b3532f2e75632af79c86343cac745567ea72 (diff)
downloademacs-39cc05f572cec0dc17c994120aabf55e2cbbcfd3.tar.gz
(setwins, setwins_almost): Change directory to $wd
before finding directories by `find'.
Diffstat (limited to 'lisp/Makefile.in')
-rw-r--r--lisp/Makefile.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/Makefile.in b/lisp/Makefile.in
index e1c6b779db2..9efd587a199 100644
--- a/lisp/Makefile.in
+++ b/lisp/Makefile.in
@@ -136,17 +136,17 @@ emacs = EMACSLOADPATH=$(lisp) $(EMACS) $(EMACSOPT)
# 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