gnulib-tool: Fix bug in yesterday's commit.
authorBruno Haible <bruno@clisp.org>
Sun, 29 May 2011 14:02:32 +0000 (16:02 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 29 May 2011 14:02:32 +0000 (16:02 +0200)
* gnulib-tool (func_create_testdir): Don't add gltests to $subdirs
twice.

ChangeLog
gnulib-tool

index c6cd49f..69c052c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2011-05-29  Bruno Haible  <bruno@clisp.org>
 
+       gnulib-tool: Fix bug in yesterday's commit.
+       * gnulib-tool (func_create_testdir): Don't add gltests to $subdirs
+       twice.
+
+2011-05-29  Bruno Haible  <bruno@clisp.org>
+
        Allow multiple gnulib generated include files to be combined.
        * gnulib-tool (func_compute_include_guard_prefix): New function.
        (func_emit_lib_Makefile_am, func_emit_tests_Makefile_am): Resolve also
index 81ed14e..23e5bb6 100755 (executable)
@@ -5760,10 +5760,9 @@ func_create_testdir ()
        echo "AC_OUTPUT"
       ) > "$testdir/$testsbase/configure.ac"
       auxdir="$saved_auxdir"
-      func_append subdirs " $testsbase"
       subdirs_with_configure_ac="$subdirs_with_configure_ac $testsbase"
     fi
-    subdirs="$subdirs $testsbase"
+    func_append subdirs " $testsbase"
   fi
 
   # Create Makefile.am.