commit | 572930027d5d86a18ebd68d5f4273150a2f302e1 | [log] [tgz] |
---|---|---|
author | Denis Vlasenko <vda.linux@googlemail.com> | Sun Apr 26 20:06:14 2009 +0000 |
committer | Denis Vlasenko <vda.linux@googlemail.com> | Sun Apr 26 20:06:14 2009 +0000 |
tree | 67f35d015b39c678bc3d2e271c956b6e356fa0d4 | |
parent | 5b7589eb27e748a3d281c0341219cf7435e8b4f1 [diff] [blame] |
hush: nommu fix for function passing
diff --git a/shell/hush_test/hush-misc/func4.tests b/shell/hush_test/hush-misc/func4.tests new file mode 100755 index 0000000..db3f15a --- /dev/null +++ b/shell/hush_test/hush-misc/func4.tests
@@ -0,0 +1,7 @@ +func() { + eval "echo \"\${val_${1}}\"" +} + +val_x=24 +(func x) +echo Done