Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/external/bsd/kyua-atf-compat/dist
On Mon, Feb 25, 2013 at 06:54:13PM +0000, David Holland wrote:
> On Mon, Feb 25, 2013 at 06:49:51PM +0000, Julio Merino wrote:
> > Log Message:
> > Cherry-pick upstream change d0daf9983f5a0e635f1127dbc827aa114daa90d8:
> >
> > Fix broken variable parsing with NetBSD's /bin/sh
> >
> > Quote the expansion of a $() command that was not properly surrounded
> > by quotes so that this runs properly with NetBSD's /bin/sh.
>
> In what way was it broken? (And where's the PR?)
I suspect that field splitting is applied to the RHS of assignments
when they are on local or export lines.
eg:
(x="a b"; b=fubar; export y=$x; echo $y; (echo $b))
outputs a and fubar (on two lines).
David
--
David Laight: david%l8s.co.uk@localhost
Home |
Main Index |
Thread Index |
Old Index