diff options
author | Glenn Morris <rgm@gnu.org> | 2013-11-06 12:56:48 -0500 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2013-11-06 12:56:48 -0500 |
commit | 6b4ac03ebef0dcd36699c34444ddce7a246c06aa (patch) | |
tree | 146e4788decb37f16e00dbec7280f15a407f347c /test/automated/Makefile.in | |
parent | 5ca114d1a897f57d5570e2e5b243dc7111ab1c73 (diff) |
Guard against possible accidental matches with parent dirs in Makefiles
* lisp/Makefile.in (setwins_almost, setwins_for_subdirs):
Avoid accidental matches.
* test/automated/Makefile.in (setwins): Avoid accidental matches.
Diffstat (limited to 'test/automated/Makefile.in')
-rw-r--r-- | test/automated/Makefile.in | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/automated/Makefile.in b/test/automated/Makefile.in index 63cffd9f82..617768995f 100644 --- a/test/automated/Makefile.in +++ b/test/automated/Makefile.in @@ -39,9 +39,8 @@ emacs = unset EMACSLOADPATH; \ LC_ALL=C EMACS_TEST_DIRECTORY=$(srcdir) "$(EMACS)" $(EMACSOPT) # Common command to find subdirectories -setwins=subdirs=`find $(srcdir) -type d -print`; \ - for file in $$subdirs; do \ - case $$file in */data* | */flymake* ) ;; \ +setwins=for file in `find $(srcdir) -type d -print`; do \ + case $$file in $(srcdir)*/data* | $(srcdir)*/flymake* ) ;; \ *) wins="$$wins$${wins:+ }$$file" ;; \ esac; \ done |