diff options
author | Ron Yorston <rmy@pobox.com> | 2017-07-24 10:27:04 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2017-07-24 10:27:04 +0100 |
commit | eeceafbc5c4caf513c6d92b7d71ecb0ccd89a3f8 (patch) | |
tree | 5a543fa18a66c64c8a8047e4534978aca945ff99 /docs | |
parent | ac181bf548a3dd1aabaf8263d255936f66866cc7 (diff) | |
download | busybox-w32-eeceafbc5c4caf513c6d92b7d71ecb0ccd89a3f8.tar.gz busybox-w32-eeceafbc5c4caf513c6d92b7d71ecb0ccd89a3f8.tar.bz2 busybox-w32-eeceafbc5c4caf513c6d92b7d71ecb0ccd89a3f8.zip |
ash: allow for filename extension in find_command
When searching for a command specified as a pathname also check for
the filename with a '.exe' or '.com' extension. Previously even if
/bin/busybox.exe was present we got:
$ command -v /bin/busybox
$ echo $?
127
This now becomes:
$ command -v /bin/busybox
/bin/busybox
$ echo $?
0
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions