From 7c92c27171bab43d8fed716211fee69a30ec6352 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Wed, 25 Jan 2006 14:20:06 +0000 Subject: [PATCH] Portability problem with Solaris sh. --- ChangeLog | 6 ++++++ gnulib-tool | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index dbb398e162..c4d944e15d 100644 --- 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 index 5aa7694dbf..9478017ba5 100755 --- 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_import () 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" -- 2.30.2