diff options
author | Eric Andersen | 2004-04-07 09:34:27 +0000 |
---|---|---|
committer | Eric Andersen | 2004-04-07 09:34:27 +0000 |
commit | 075dd81c4460c027cf22800808993df3c07281f5 (patch) | |
tree | 92e71f0a400931ed106bfcedee0420b408adb282 /shell/ash.c | |
parent | b80c67e32c87bc674e84993f8d2d06e8f2c4228d (diff) | |
download | busybox-075dd81c4460c027cf22800808993df3c07281f5.zip busybox-075dd81c4460c027cf22800808993df3c07281f5.tar.gz |
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.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/shell/ash.c b/shell/ash.c index 5ebc8ac..1a0e0aa 100644 --- a/shell/ash.c +++ b/shell/ash.c @@ -3717,15 +3717,9 @@ tryexec(char *cmd, char **argv, char **envp) int flg_bb = 0; char *name = cmd; -#ifdef CONFIG_FEATURE_SH_APPLETS_ALWAYS_WIN - name = bb_get_last_path_component(name); - if(find_applet_by_name(name) != NULL) - flg_bb = 1; -#else if(strchr(name, '/') == NULL && find_applet_by_name(name) != NULL) { flg_bb = 1; } -#endif if(flg_bb) { char **ap; char **new; |