From 9b13e2802e3c29caaea293a93398e1d7e16e5726 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Fri, 15 Oct 2004 15:32:25 +0000 Subject: [PATCH] Use func_get_license. --- ChangeLog | 3 ++- gnulib-tool | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 66fd4c1798..b6e17f2283 100644 --- 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 index 6064c31e36..ef24fa75c6 100755 --- 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 @@ func_import () # 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 -- 2.30.2