diff options
author | Ron Yorston <rmy@pobox.com> | 2021-02-25 08:39:02 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2021-02-25 08:39:02 +0000 |
commit | 38eafd3ff110e2802fe85167013be9b0e49665f9 (patch) | |
tree | 0035609bc2ec6f44b98519bbd42bcec73fd6cf9b /init | |
parent | d7c6685d352371dd9becd0ad21d250a02c3323ab (diff) | |
download | busybox-w32-38eafd3ff110e2802fe85167013be9b0e49665f9.tar.gz busybox-w32-38eafd3ff110e2802fe85167013be9b0e49665f9.tar.bz2 busybox-w32-38eafd3ff110e2802fe85167013be9b0e49665f9.zip |
which: changes to standalone shell support
- If 'which' is run from an executable called 'which.exe' it
suggests we aren't in a standalone-shell-mode shell. Don't
run any standalone-shell-specific code.
- Use case-insensitive comparisons when testing the names of
executables.
- When the argument is 'busybox' any executable name starting
with 'busybox' should match.
- Since 'busybox' is now treated as an applet in standalone shell
mode there's no need to test for this explicitly.
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions