aboutsummaryrefslogtreecommitdiff
path: root/runit
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2023-06-04 08:00:51 +0100
committerRon Yorston <rmy@pobox.com>2023-06-04 08:00:51 +0100
commitbd7018350d7e816a90dde97fa0a4abf41be17b4d (patch)
treef28f42c8139dd1b9aae339ef0c9b69356c6c9acc /runit
parente013876e1dc0ce8e3a36abea9390d35a7053bd84 (diff)
downloadbusybox-w32-bd7018350d7e816a90dde97fa0a4abf41be17b4d.tar.gz
busybox-w32-bd7018350d7e816a90dde97fa0a4abf41be17b4d.tar.bz2
busybox-w32-bd7018350d7e816a90dde97fa0a4abf41be17b4d.zip
win32: another BB_OVERRIDE_APPLETS fix
Support for conditionally replacing applets with external commands requires the ability to check whether a given command name is present on PATH. This was being done using the PATH environment variable, which works in commands run by the shell but not in the shell itself. - The shell uses the *shell* variable PATH to look for executables. This may not be the same as the *environment* variable. - 'command -p' uses an entirely different PATH. Applet look-up in the shell is now treated as a special case, with the actual PATH being used passed to the look-up code in a global variable. This doesn't affect tab completion in the shell: whether a completion is an applet or an external command is irrelevant. Costs 152-288 bytes. (GitHub issue #329)
Diffstat (limited to 'runit')
0 files changed, 0 insertions, 0 deletions