From dc3bc40578e0d9a4f4437d5b9018c1dd02900584 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 1 Jun 2009 14:09:09 -0400 Subject: 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 --- shell/hush_test/hush-vars/var1.tests | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'shell/hush_test/hush-vars/var1.tests') diff --git a/shell/hush_test/hush-vars/var1.tests b/shell/hush_test/hush-vars/var1.tests index 0a63696c9..48a6782ba 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 $? ${?}; } -- cgit v1.2.3