Make --update option actually work.
authorBruno Haible <bruno@clisp.org>
Tue, 2 May 2006 14:31:00 +0000 (14:31 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 2 May 2006 14:31:00 +0000 (14:31 +0000)
ChangeLog
gnulib-tool

index 05100df5964a5c10de82780dd6ee6d54bf2fe0ae..6d085bd9628903bf0293326c18422aafa8e73ece 100644 (file)
--- 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
index fbdd5b6a68220204a1d1ef2592ebc0f74eb69bc6..018ab8021041aca4a657b3a91e2a37671ba7635c 100755 (executable)
@@ -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 @@ func_ln_if_changed ()
       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