changeset 14841:9341bfde6165

gnulib-tool: Fix bug in yesterday's commit. * gnulib-tool (func_create_testdir): Don't add gltests to $subdirs twice.
author Bruno Haible <bruno@clisp.org>
date Sun, 29 May 2011 16:02:32 +0200
parents 5f709022a256
children e7fdc5219b0d
files ChangeLog gnulib-tool
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sun May 29 15:44:42 2011 +0200
+++ b/ChangeLog	Sun May 29 16:02:32 2011 +0200
@@ -1,3 +1,9 @@
+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.
--- a/gnulib-tool	Sun May 29 15:44:42 2011 +0200
+++ b/gnulib-tool	Sun May 29 16:02:32 2011 +0200
@@ -5760,10 +5760,9 @@
        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.