openwrtv3/package
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
..
base-files fstools: add the new fstools package 2014-03-12 19:32:51 +00:00
boot uboot-envtools: fix build with musl 2014-03-20 13:51:27 +00:00
devel upgrade the Linaro binutils to 2.24-2013.12 2014-01-07 15:03:55 +00:00
kernel ath10k: update firmware and allow choice between AP and STA firmwares 2014-03-19 14:37:12 +00:00
libs toolchain: add a symlink for musl softfloat ldso to the path where our gcc expects it 2014-03-20 13:51:47 +00:00
network netifd: update to latest version, fixes an autostart handling with link detection 2014-03-20 13:57:28 +00:00
system ubus: update to latest version, blocks unrelated uloop calls on synchronous requests 2014-03-19 14:26:43 +00:00
utils busybox: fix existing "export -n" in ash 2014-03-20 14:14:30 +00:00
Makefile target/sdk: use .config instead of unconditionally enabling all build dirs 2014-03-13 12:12:58 +00:00