> 
> I'm trying this patch. Does it work for you?
> 
> 
> 2006-01-25  Bruno Haible  <[EMAIL PROTECTED]>
> 
>       * 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


_______________________________________________
bug-gnulib mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnulib

Reply via email to