# HG changeset patch # User Bruno Haible # Date 1138198806 0 # Node ID 7f357522e428dff1e6abdfc926de08b12f328ee1 # Parent 3d04961c3734c98ddcd2aae1a3f272971cb1f72c Portability problem with Solaris sh. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-01-25 Bruno Haible + + * gnulib-tool (func_import): Use "trap :" instead of "trap -" to get + rid of a trap command. For Solaris sh. + Reported by Mark D. Baushke . + 2006-01-24 Bruno Haible * modules/strnlen (Maintainer): Change from glibc to all. diff --git a/gnulib-tool b/gnulib-tool --- a/gnulib-tool +++ b/gnulib-tool @@ -22,7 +22,7 @@ progname=$0 package=gnulib -cvsdatestamp='$Date: 2006-01-24 19:18:45 $' +cvsdatestamp='$Date: 2006-01-25 14:20:06 $' last_checkin_date=`echo "$cvsdatestamp" | sed -e 's,^\$[D]ate: ,,'` version=`echo "$last_checkin_date" | sed -e 's/ .*$//' -e 's,/,-,g'` @@ -1176,7 +1176,7 @@ func_add_or_update done rm -rf "$tmp" - trap - 0 1 2 3 15 + trap : 0 1 2 3 15 # Command-line invocation printed in a comment in generated gnulib-cache.m4. actioncmd="gnulib-tool --import"