summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorDenys Vlasenko2016-11-23 18:31:48 +0100
committerDenys Vlasenko2016-11-23 18:31:48 +0100
commit15fb91cefb22d64952f34fe246fc8f257172af63 (patch)
treeb26c3168f2ea5e185eee1041c6f521855398783a /shell
parent73f743a381dc389287d2d0e56a2b7988f67c0bfc (diff)
downloadbusybox-15fb91cefb22d64952f34fe246fc8f257172af63.zip
busybox-15fb91cefb22d64952f34fe246fc8f257172af63.tar.gz
test: make [ and [[ forms individually selectable
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell')
-rw-r--r--shell/ash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 87f2127..15246f5 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -9282,9 +9282,9 @@ static const struct builtincmd builtintab[] = {
{ BUILTIN_SPEC_REG ":" , truecmd },
#if ENABLE_ASH_BUILTIN_TEST
{ BUILTIN_REGULAR "[" , testcmd },
-#if ENABLE_ASH_BASH_COMPAT
+# if ENABLE_ASH_BASH_COMPAT
{ BUILTIN_REGULAR "[[" , testcmd },
-#endif
+# endif
#endif
#if ENABLE_ASH_ALIAS
{ BUILTIN_REG_ASSG "alias" , aliascmd },