bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gnulib] gnulib/gnulib-tool shell quoting problem for Solaris /b


From: Eric Blake
Subject: Re: [bug-gnulib] gnulib/gnulib-tool shell quoting problem for Solaris /bin/sh
Date: Wed, 25 Jan 2006 16:06:57 +0000

> 
> I'm trying this patch. Does it work for you?
> 
> 
> 2006-01-25  Bruno Haible  <address@hidden>
> 
>       * gnulib-tool (func_import): Use "trap :" instead of "trap -" to get
>       rid of a trap command. For Solaris sh.

Wouldn't "trap ''" be better than "trap :"?  trap '' is documented
as restoring default behavior of the signal, which may include
exiting the shell, while trap : always succeeds, which may
change the behavior of the shell in the presence of that signal.

Remember this thread, which patched the same bug in install-sh?
http://lists.gnu.org/archive/html/bug-autoconf/2005-11/msg00000.html

--
Eric Blake




reply via email to

[Prev in Thread] Current Thread [Next in Thread]