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-w32-1c03923b0b50d710cf78d02cf2a2fc80090455ef.tar.gz
busybox-w32-1c03923b0b50d710cf78d02cf2a2fc80090455ef.tar.bz2
busybox-w32-1c03923b0b50d710cf78d02cf2a2fc80090455ef.zip
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 @@
20 20
21#include "busybox.h" 21#include "busybox.h"
22 22
23/* This is to make testing things a bit simpler (to avoid
24 * a full recompile) till we get the new build system in place */
25#if 0
26#undef BB_FEATURE_LASH
27#undef BB_FEATURE_HUSH
28#undef BB_FEATURE_MSH
29#define BB_FEATURE_ASH
30#endif
31
23#if defined BB_FEATURE_ASH 32#if defined BB_FEATURE_ASH
24#include "ash.c" 33#include "ash.c"
25#elif defined BB_FEATURE_MSH 34#elif defined BB_FEATURE_MSH