changeset 6607:7f357522e428

Portability problem with Solaris sh.
author Bruno Haible <bruno@clisp.org>
date Wed, 25 Jan 2006 14:20:06 +0000
parents 3d04961c3734
children 96e0fbba95ac
files ChangeLog gnulib-tool
diffstat 2 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-01-25  Bruno Haible  <bruno@clisp.org>
+
+	* gnulib-tool (func_import): Use "trap :" instead of "trap -" to get
+	rid of a trap command. For Solaris sh.
+	Reported by Mark D. Baushke <mdb@gnu.org>.
+
 2006-01-24  Bruno Haible  <bruno@clisp.org>
 
 	* modules/strnlen (Maintainer): Change from glibc to all.
--- 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"