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>
This commit is contained in:
Gary V. Vaughan 2005-04-04 17:30:46 +00:00
parent 88e2d82a72
commit 251628e093
2 changed files with 14 additions and 2 deletions

View File

@ -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>
* tests/libtoolize.at: New tests for basic libtoolize functionality

View File

@ -632,6 +632,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"
@ -655,10 +656,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