diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2018-04-10 01:23:19 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2018-04-10 01:23:19 +0200 |
commit | e93031e6dced47e8f5a86408b4aa3f89aef647c7 (patch) | |
tree | 563b95ada5e51f868a85c9f4a55a696401b0209e | |
parent | 57b7efb0d5b16fe9d2c19b45fd240fe552bb5c36 (diff) |
ash: if "[[" bashism is not supported, do not handle it anywhere
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | shell/ash.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/ash.c b/shell/ash.c index 303542197..45c747dbc 100644 --- a/shell/ash.c +++ b/shell/ash.c @@ -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); } |