hush: nommu fix for function passing
This commit is contained in:
2
shell/hush_test/hush-misc/func4.right
Normal file
2
shell/hush_test/hush-misc/func4.right
Normal file
@@ -0,0 +1,2 @@
|
||||
24
|
||||
Done
|
7
shell/hush_test/hush-misc/func4.tests
Executable file
7
shell/hush_test/hush-misc/func4.tests
Executable file
@@ -0,0 +1,7 @@
|
||||
func() {
|
||||
eval "echo \"\${val_${1}}\""
|
||||
}
|
||||
|
||||
val_x=24
|
||||
(func x)
|
||||
echo Done
|
Reference in New Issue
Block a user