aboutsummaryrefslogtreecommitdiff
path: root/shell/ash.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-04-07 09:34:27 +0000
committerEric Andersen <andersen@codepoet.org>2004-04-07 09:34:27 +0000
commit075dd81c4460c027cf22800808993df3c07281f5 (patch)
tree92e71f0a400931ed106bfcedee0420b408adb282 /shell/ash.c
parentb80c67e32c87bc674e84993f8d2d06e8f2c4228d (diff)
downloadbusybox-w32-075dd81c4460c027cf22800808993df3c07281f5.tar.gz
busybox-w32-075dd81c4460c027cf22800808993df3c07281f5.tar.bz2
busybox-w32-075dd81c4460c027cf22800808993df3c07281f5.zip
Remove the CONFIG_FEATURE_SH_APPLETS_ALWAYS_WIN option. It was sortof
stupid and didn't work properly anyways.
Diffstat (limited to 'shell/ash.c')
-rw-r--r--shell/ash.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 5ebc8aced..1a0e0aa6e 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -3717,15 +3717,9 @@ tryexec(char *cmd, char **argv, char **envp)
3717 int flg_bb = 0; 3717 int flg_bb = 0;
3718 char *name = cmd; 3718 char *name = cmd;
3719 3719
3720#ifdef CONFIG_FEATURE_SH_APPLETS_ALWAYS_WIN
3721 name = bb_get_last_path_component(name);
3722 if(find_applet_by_name(name) != NULL)
3723 flg_bb = 1;
3724#else
3725 if(strchr(name, '/') == NULL && find_applet_by_name(name) != NULL) { 3720 if(strchr(name, '/') == NULL && find_applet_by_name(name) != NULL) {
3726 flg_bb = 1; 3721 flg_bb = 1;
3727 } 3722 }
3728#endif
3729 if(flg_bb) { 3723 if(flg_bb) {
3730 char **ap; 3724 char **ap;
3731 char **new; 3725 char **new;