+2005-12-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ * libtoolize.m4sh (func_copy_cb, func_copy_some_files)
+ (func_serial_update, func_keyword_update): Fail immediately
+ if some file we may install does not exist.
+ Reported by Troy Benjegerdes <hozer@hozed.org>.
+
2005-12-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* TODO: A bunch of items fixed. :)
copy_return_status=1
# Libtool is probably misinstalled if this happens:
- test -f "$my_srcdir/$my_file" || \
- { func_error "\`$my_file' not found in \`$my_srcdir'"; return; }
+ test -f "$my_srcdir/$my_file" ||
+ func_fatal_error "\`$my_file' not found in \`$my_srcdir'"
case $opt_verbose in
false) my_copy_msg="file \`$my_destdir/$my_file'" ;;
fi
fi
else
- # Not a regular file
- continue
+ func_fatal_error "\`$my_filename' not found in \`$my_srcdir'"
fi
$my_copy_cb "$my_filename" "$my_srcdir" "$my_destdir"
my_srcfile="$my_srcdir/$my_filename"
my_destfile="$my_destdir/$my_filename"
- test -f "$my_srcfile" || {
- func_error "\`$my_srcfile' does not exist."
- return
- }
+ test -f "$my_srcfile" || func_fatal_error "\`$my_srcfile' does not exist."
if test -f "$my_destfile"; then
my_src_serial=`func_serial "$my_srcfile" "$my_macro_regex"`
my_keyword_update_p=:
- test -f "$my_srcfile" || {
- func_error "\`$my_srcfile' does not exist."
- return
- }
+ test -f "$my_srcfile" || func_fatal_error "\`$my_srcfile' does not exist."
if test -f "$my_destfile"; then
my_src_serial=`$SED -e "$my_sed_script" "$my_srcfile"`