From e93031e6dced47e8f5a86408b4aa3f89aef647c7 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Tue, 10 Apr 2018 01:23:19 +0200 Subject: [PATCH] ash: if "[[" bashism is not supported, do not handle it anywhere Signed-off-by: Denys Vlasenko --- shell/ash.c | 2 ++ 1 file changed, 2 insertions(+) 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); }