Fix value of uses_subdirs in tests/Makefile.am.
authorBruno Haible <bruno@clisp.org>
Wed, 23 Sep 2009 08:13:41 +0000 (10:13 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 23 Sep 2009 08:13:41 +0000 (10:13 +0200)
ChangeLog
gnulib-tool

index 97ca5da..e3ef0e0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-09-23  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_emit_tests_Makefile_am): Set uses_subdirs in a
+       subcommand, not in a subshell.
+
 2009-09-22  Eric Blake  <ebb9@byu.net>
 
        unistd: sort replacement declarations
index a847431..60d2578 100755 (executable)
@@ -2216,7 +2216,7 @@ func_emit_tests_Makefile_am ()
   func_emit_copyright_notice
   echo
   uses_subdirs=
-  (
+  {
     for module in $modules; do
       if $for_test; then
         func_verify_tests_module
@@ -2258,7 +2258,7 @@ func_emit_tests_Makefile_am ()
         done
       fi
     done
-  ) > allsnippets.tmp
+  } > allsnippets.tmp
   # Generate dependencies here, since it eases the debugging of test failures.
   # If there are source files in subdirectories, prevent collision of the
   # object files (example: hash.c and libxml/hash.c).