changeset 6765:eccab879e7e7

Make --update option actually work.
author Bruno Haible <bruno@clisp.org>
date Tue, 02 May 2006 14:31:00 +0000
parents a156a04768bf
children a1a506584827
files ChangeLog gnulib-tool
diffstat 2 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2006-04-25  Bruno Haible  <bruno@clisp.org>
+
+	* gnulib-tool: Make --update option actually work.
+
 2006-04-25  Bruno Haible  <bruno@clisp.org>
 
 	* gnulib-tool (func_import): Output the include directives in three
--- a/gnulib-tool
+++ b/gnulib-tool
@@ -22,7 +22,7 @@
 
 progname=$0
 package=gnulib
-cvsdatestamp='$Date: 2006-04-25 12:01:00 $'
+cvsdatestamp='$Date: 2006-05-02 14:31:00 $'
 last_checkin_date=`echo "$cvsdatestamp" | sed -e 's,^\$[D]ate: ,,'`
 version=`echo "$last_checkin_date" | sed -e 's/ .*$//' -e 's,/,-,g'`
 
@@ -403,7 +403,7 @@
       echo "you need to use 'gnulib --import' - at your own risk!" 1>&2
       exit 1
     fi
-    if test -n "$libname" || test -n "$sourcebase" || test -n "$m4base" \
+    if test -n "$supplied_libname" || test -n "$sourcebase" || test -n "$m4base" \
        || test -n "$testsbase" || test -n "$auxdir" || test -n "$inctests" \
        || test -n "$avoidlist" || test -n "$lgpl" || test -n "$macro_prefix"; then
       echo "gnulib-tool: invalid options for 'update' mode" 1>&2