]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
Under certain circumstances, not all of the macro files were
authorGary V. Vaughan <gary@gnu.org>
Mon, 4 Apr 2005 17:38:14 +0000 (17:38 +0000)
committerGary V. Vaughan <gary@gnu.org>
Mon, 4 Apr 2005 17:38:14 +0000 (17:38 +0000)
copied into the destination directory.  This changeset fixes
that bug:

* libtoolize.m4sh (func_serial_update):  Renamed local variable
`my_update_p' to `my_serial_update_p', and initialise it correctly
even when the destination file is not yet there.
Reported by Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

ChangeLog
libtoolize.m4sh

index 0ecfd0cd4145eb4b75c90f9e7fef5a0afa1f4935..0aaa0952a0fe6b403cd6f0245fb9a526bf3293a9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2005-04-04  Gary V. Vaughan  <gary@gnu.org>
+
+       Under certain circumstances, not all of the macro files were
+       copied into the destination directory.  This changeset fixes
+       that bug:
+
+       * libtoolize.m4sh (func_serial_update):  Renamed local variable
+       `my_update_p' to `my_serial_update_p', and initialise it correctly
+       even when the destination file is not yet there.
+       Reported by Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
 2005-04-04  Gary V. Vaughan  <gary@gnu.org>
 
        * libtoolize.m4sh (func_serial_update): Replace missing
index 3320618712675d126d5c03bbcf39ff72bf2b1d3e..cf016a18f7b4c61c3dc589d78e112329339b31be 100644 (file)
@@ -598,6 +598,7 @@ func_serial_update ()
     my_macro_regex="$4"
     my_old_macro_regex="$5"
 
+    my_serial_update_p=:
     my_return_status=1
     my_srcfile="$my_srcdir/$my_filename"
     my_destfile="$my_destdir/$my_filename"
@@ -622,10 +623,10 @@ func_serial_update ()
 
       func_serial_update_check \
          "$my_srcfile" "$my_src_serial" "$my_destfile" "$my_dest_serial"
-      my_update_p="$func_serial_update_check_result"
+      my_serial_update_p="$func_serial_update_check_result"
     fi
 
-    if $my_update_p || $opt_force; then
+    if $my_serial_update_p || $opt_force; then
       func_copy "$my_srcfile" "$my_destfile"
       my_return_status=$?
     elif test "X$my_dest_serial" = "X$my_src_serial"; then