openwrt/package/utils
Felix Fietkau 33ae9569a4 busybox: fix existing "export -n" in ash
Minor fix to existing patch which did not correctly implement -n support for the export command in ash. The VEXPORT flag of a variable was set in the first call to setvareq() and then remained set in the subsequent call, because the variable already existed in the environment.

Although /lib/functions.sh by default does not export variables (NO_EXPORT=1), this issue was leading to dirty environments.

Without this fix:
(ash) export A=1; export -n B=2; /bin/ash -c "echo \$A, \$B"
1, 2

With this fix:
(ash) export A=1; export -n B=2; /bin/ash -c "echo \$A, \$B"
1,

Signed-off-by: Christophe Lermytte <openwrt@lermytte.be>

SVN-Revision: 39968
2014-03-20 14:14:30 +00:00
..
admswconfig
busybox busybox: fix existing "export -n" in ash 2014-03-20 14:14:30 +00:00
e2fsprogs Revert "[package] e2fsprogs: update to 1.42.8 and add e4defrag" 2013-08-16 09:29:31 +00:00
fbtest
fuse
hostap-utils
jsonpath jsonpath: make output in non-export mode more shell friendly 2014-01-08 22:01:55 +00:00
lua
mdadm mdadm: strip support for intel/ddf hardware raid to significantly reduce code size 2013-06-28 11:26:48 +00:00
mkelfimage
nvram
px5g px5g: creates certificates that expire in the past 2013-07-04 13:31:32 +00:00
robocfg
spidev_test
usbmode usbmode: update usb-modeswitch-data version to 20131113 2014-01-17 21:45:55 +00:00
usbreset usbreset: fix possible access to uninitialized variable (#15041) 2014-02-23 23:42:12 +00:00
usbutils usbutils: upgrade to version 007 2013-07-03 01:12:07 +00:00
util-linux util-linux: cleanup description for swap-utils 2013-11-07 12:46:04 +00:00
xfsprogs xfsprogs: move to submenu Filesystem 2013-11-17 16:14:58 +00:00