diff options
author | Mike Frysinger | 2009-06-01 14:09:09 -0400 |
---|---|---|
committer | Mike Frysinger | 2009-06-01 14:16:43 -0400 |
commit | dc3bc40578e0d9a4f4437d5b9018c1dd02900584 (patch) | |
tree | f6ac1edd6f84a81fdda2a84ac29d06a0181904d0 /shell/hush_test/hush-vars/var1.tests | |
parent | ff64fb9e3100ff89446b54af3ef80cd86d4730f5 (diff) | |
download | busybox-dc3bc40578e0d9a4f4437d5b9018c1dd02900584.zip busybox-dc3bc40578e0d9a4f4437d5b9018c1dd02900584.tar.gz |
hush: add support for special vars in braces
Some people like to use ${?} rather than $?, so make sure we support all
the special single char vars that use this form.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'shell/hush_test/hush-vars/var1.tests')
-rwxr-xr-x | shell/hush_test/hush-vars/var1.tests | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/hush_test/hush-vars/var1.tests b/shell/hush_test/hush-vars/var1.tests index 0a63696..48a6782 100755 --- a/shell/hush_test/hush-vars/var1.tests +++ b/shell/hush_test/hush-vars/var1.tests @@ -4,6 +4,6 @@ echo $URL echo ${URL}_abc true -false; echo $? +false; echo $? ${?} true -{ false; echo $?; } +{ false; echo $? ${?}; } |