'env' sees unexported variables [standalone shell]

Denys Vlasenko vda.linux at googlemail.com
Fri Jun 18 12:38:49 UTC 2010


On Tue, Jun 15, 2010 at 12:26 PM, Andreas Bühmann
<buehmann at users.berlios.de> wrote:
> Hello,
>
> I've run into a problem with busybox 1.16.2 in "standalone shell" mode
> (built according to INSTALL/Quick Start).
>
> I don't expect any output from the following command line; this is what
> I get instead:
>
> PATH= foo=42 ./busybox sh -c 'unset foo; env | grep foo'
> foo=42

Yes, standalone mode is less well tested than "normal" one.
Please keep the bug reports coming.

Please try this fix:

http://git.busybox.net/busybox/commit/?id=7df28bbb8fa3ba2878c288401c898ec477e55df1
-- 
vda


More information about the busybox mailing list