# HG changeset patch # User Bruno Haible # Date 1097854345 0 # Node ID 40f5d74050d5178409a2d6a4ab0f090439483b47 # Parent 8394c9bf619f75cd96e6ce62295a8d0adb470244 Use func_get_license. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -2,7 +2,8 @@ * gnulib-tool: Untabify. Initialize supplied_libname. (func_usage): More homogenous output. - (func_import): New function, extracted from big case statement. + (func_import): New function, extracted from big case statement. Use + func_get_license. 2004-10-11 Bruno Haible diff --git a/gnulib-tool b/gnulib-tool --- a/gnulib-tool +++ b/gnulib-tool @@ -22,7 +22,7 @@ progname=$0 package=gnulib -cvsdatestamp='$Date: 2004-10-15 15:28:43 $' +cvsdatestamp='$Date: 2004-10-15 15:32:25 $' last_checkin_date=`echo "$cvsdatestamp" | sed -e 's,^\$[D]ate: ,,'` version=`echo "$last_checkin_date" | sed -e 's/ .*$//' -e 's,/,-,g'` @@ -397,7 +397,7 @@ # If --lgpl, check the license of modules are compatible. if test -n "$lgpl"; then for module in $modules; do - license=`sed -n -e "/^License$sed_extract_prog" < "$gnulib_dir/modules/$module"` + license=`func_get_license $module` if test $license != LGPL; then func_fatal_error "incompatible license on module \`$module\`: $license" fi