projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57b7efb
)
ash: if "[[" bashism is not supported, do not handle it anywhere
author
Denys Vlasenko
<vda.linux@googlemail.com>
Mon, 9 Apr 2018 23:23:19 +0000
(
01:23
+0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Mon, 9 Apr 2018 23:23:19 +0000
(
01:23
+0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/ash.c
patch
|
blob
|
history
diff --git
a/shell/ash.c
b/shell/ash.c
index 30354219797623308475ddeef4a27a5eefabe244..45c747dbcd09bc1045f214e5241d59cc1397fa8c 100644
(file)
--- 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);
}