From: Denys Vlasenko Date: Mon, 9 Apr 2018 23:23:19 +0000 (+0200) Subject: ash: if "[[" bashism is not supported, do not handle it anywhere X-Git-Tag: 1_29_0~102 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e93031e6dced47e8f5a86408b4aa3f89aef647c7;p=oweals%2Fbusybox.git ash: if "[[" bashism is not supported, do not handle it anywhere Signed-off-by: Denys Vlasenko --- 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); }