functions.
(func_import): New function, extracted from big case statement. Use
func_get_license, func_modules_transitive_closure,
- func_modules_to_filelist. Initialize opt_lgpl.
+ func_modules_to_filelist. Initialize opt_lgpl. Don't use test -a, as
+ it's not portable.
(func_create_testdir): Use func_modules_transitive_closure,
func_modules_to_filelist.
progname=$0
package=gnulib
-cvsdatestamp='$Date: 2004-10-15 15:43:58 $'
+cvsdatestamp='$Date: 2004-10-15 15:46:41 $'
last_checkin_date=`echo "$cvsdatestamp" | sed -e 's,^\$[D]ate: ,,'`
version=`echo "$last_checkin_date" | sed -e 's/ .*$//' -e 's,/,-,g'`
test -n "$dry_run" && dry=echo
$dry cp -p "$gnulib_dir/$f" "$destdir/$g"
# Update license.
- if test -z "$dry_run" -a -n "$lgpl" -a -n "$source"; then
+ if test -z "$dry_run" && test -n "$lgpl" && test -n "$source"; then
perl -pi -e 's/GNU General/GNU Lesser General/g;' \
-e 's/version 2([ ,])/version 2.1\1/g' \
$destdir/$g