On 03/08/2013 02:04 PM, Mats Erik Andersson wrote:
> Hello there,
> 
> the bootstrap script contains a hardcoded call to 'sh',
> which renders the self-bootstraping unusable on FreeBSD
> and DragonFlyBSD.  The reason is that the default Bourne
> shell on these systems handles the crucial invocation
> 
>   $ /bin/sh -c 'echo "$1 --> $2"' -- old new
>   new -->
> 
> by removing the placeholder '--' despite the switch '-c'.
> This is a different behaviour from all other '/bin/sh'
> tested by me, including GNU/Linux, other BSDm and multiple
> shells on OpenSolaris.

Could we not just s/--/IGNORED/

thanks,
Pádraig.


Reply via email to