ash: if "[[" bashism is not supported, do not handle it anywhere
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
57b7efb0d5
commit
e93031e6dc
@ -11611,10 +11611,12 @@ simplecmd(void)
|
||||
case TLP:
|
||||
function_flag = 0;
|
||||
break;
|
||||
# if BASH_TEST2
|
||||
case TWORD:
|
||||
if (strcmp("[[", wordtext) == 0)
|
||||
goto do_func;
|
||||
/* fall through */
|
||||
# endif
|
||||
default:
|
||||
raise_error_unexpected_syntax(-1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user