ash: fix handling of duplicate "local"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
1
shell/ash_test/ash-vars/var3.tests
Executable file
1
shell/ash_test/ash-vars/var3.tests
Executable file
@@ -0,0 +1 @@
|
||||
x=0; f() { local x=1; echo $x; local x; echo $x; unset x; echo $x; local x; echo $x; }; f; echo $x
|
||||
Reference in New Issue
Block a user