On Fri, Jun 6, 2014 at 3:06 AM, Vincent <vi...@macports.org> wrote:

> >> The way to fix this is to use "$@" instead of $*. See the wine port,
> for example, which does this.
>
> Is it “$@” with the double quotes or without? I guess it’s without, but
> I’d like you to confirm.
>

With the quotes. Pedantically ${1+"$@"} is most correct, but (a) I suspect
the case that protects against would fail anyway, and (b) on OS X /bin/sh
is bash which handles "$@" as if it were ${1+"$@"}. (I do wonder how long
before Apple abandons bash though....)

-- 
brandon s allbery kf8nh                               sine nomine associates
allber...@gmail.com                                  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
_______________________________________________
macports-dev mailing list
macports-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to