aboutsummaryrefslogtreecommitdiff
path: root/sh.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-07-07 00:05:55 +0000
committerEric Andersen <andersen@codepoet.org>2001-07-07 00:05:55 +0000
commit1c03923b0b50d710cf78d02cf2a2fc80090455ef (patch)
tree1089bdbb9d8a20b986300ba598f3e639e6a848ec /sh.c
parentb7e6f13b3c264f6d689f0eefc61d4718c3043062 (diff)
downloadbusybox-1c03923b0b50d710cf78d02cf2a2fc80090455ef.tar.gz
Add in a shell tagline (per lash/hush behavior) to make it easier
to know which shell is in use. Add in 'help' to list available builtins, and fixup msh so it can do STANDALONE_SHELL. -Erik
Diffstat (limited to 'sh.c')
-rw-r--r--sh.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/sh.c b/sh.c
index e76343640..15a3070a6 100644
--- a/sh.c
+++ b/sh.c
@@ -20,6 +20,15 @@
#include "busybox.h"
+/* This is to make testing things a bit simpler (to avoid
+ * a full recompile) till we get the new build system in place */
+#if 0
+#undef BB_FEATURE_LASH
+#undef BB_FEATURE_HUSH
+#undef BB_FEATURE_MSH
+#define BB_FEATURE_ASH
+#endif
+
#if defined BB_FEATURE_ASH
#include "ash.c"
#elif defined BB_FEATURE_MSH