← Commit list

e93031e6d

Denys Vlasenko
Denys Vlasenko
2018-04-10
SUCCESS Duration: 147s

Subject

ash: if "[[" bashism is not supported, do not handle it anywhere

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

shell/ash.c+2 -0
@@ -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);
}