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: Bruno Haible
Subject: Re: [bug-gnulib] gnulib/gnulib-tool shell quoting problem for Solaris /bin/sh
Date: Wed, 25 Jan 2006 15:12:33 +0100
User-agent: KMail/1.5

Mark Baushke wrote:

> Okay, I tried your 'set -x' that and it appears the error message
> happens just after the func_import () finishes executing.
> ...
> + echo   - invoke gl_INIT in ./configure.in.
>   - invoke gl_INIT in ./configure.in.
> + exit 0
> + -
> ../gnulib/gnulib-tool: -: not found

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.
        Reported by Mark D. Baushke <address@hidden>.

*** gnulib-tool 24 Jan 2006 19:18:45 -0000      1.104
--- gnulib-tool 25 Jan 2006 14:19:32 -0000
***************
*** 1176,1182 ****
      func_add_or_update
    done
    rm -rf "$tmp"
!   trap - 0 1 2 3 15
  
    # Command-line invocation printed in a comment in generated gnulib-cache.m4.
    actioncmd="gnulib-tool --import"
--- 1176,1182 ----
      func_add_or_update
    done
    rm -rf "$tmp"
!   trap : 0 1 2 3 15
  
    # Command-line invocation printed in a comment in generated gnulib-cache.m4.
    actioncmd="gnulib-tool --import"





reply via email to

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