diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2007-09-24 01:40:06 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2007-09-24 01:40:06 +0200 |
commit | 14b5c2a647924440444977806c72b8ee6f586e26 (patch) | |
tree | 66dbf1b77d7ed2222db20a7a13ac9a7461d16a69 /commands | |
parent | d97304aef21a7f3ac5a6699e3549e30507c760a3 (diff) | |
download | barebox-14b5c2a647924440444977806c72b8ee6f586e26.tar.gz barebox-14b5c2a647924440444977806c72b8ee6f586e26.tar.xz |
- teach hush to honour PATH variable
- remove common/main.c. This is now handled in the different shells.
Diffstat (limited to 'commands')
-rw-r--r-- | commands/Kconfig | 3 | ||||
-rw-r--r-- | commands/exec.c | 4 |
2 files changed, 2 insertions, 5 deletions
diff --git a/commands/Kconfig b/commands/Kconfig index c3cfb98887..5b42ccf95b 100644 --- a/commands/Kconfig +++ b/commands/Kconfig @@ -10,6 +10,7 @@ config CMD_EDIT prompt "edit" config CMD_EXEC + depends on !SHELL_HUSH bool prompt "exec" @@ -231,7 +232,7 @@ config CMD_PARTITION config CMD_TEST bool - depends on HUSH_PARSER + depends on SHELL_HUSH default y prompt "test" help diff --git a/commands/exec.c b/commands/exec.c index 032a8f82bf..3cc9a61bab 100644 --- a/commands/exec.c +++ b/commands/exec.c @@ -29,10 +29,6 @@ #include <malloc.h> #include <xfuncs.h> -#ifdef CONFIG_HUSH_PARSER -#include <hush.h> -#endif - static int do_exec(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[]) { int i; |