libtool
[Top][All Lists]
Advanced

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

Re: shell wrapper bug exists in 1.4.3, too


From: Kevin Ryde
Subject: Re: shell wrapper bug exists in 1.4.3, too
Date: Sat, 15 Feb 2003 07:28:55 +1000
User-agent: Gnus/5.090013 (Oort Gnus v0.13) Emacs/21.2 (i386-pc-linux-gnu)

Bruce Korb <address@hidden> writes:
>
> Next step is CVS, but meanwhile, this is the command line
> in the failing shell script:
>
>   exec $program ${1+"$@"}

I'm not sure I understand the full circumstances, but perhaps it's the
dodgy word splitting in zsh described in the autoconf manual "Shell
Substitutions".

I encountered a problem with this construct on an ancient bash
recently too, where ${1+"$@"} came out as an empty argument, rather
than nothing (the same as "$@" is well-known to do).

Autoconf suggests testing $#,

          case $# in
          0) something ;;
          *) something "$@";;
          esac




reply via email to

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