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 05100df..6d085bd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 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
        blocks, sorted separately.
        Reported by Ben Pfaff <blp@cs.stanford.edu>.
index fbdd5b6..018ab80 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