Please revert "ash: make dot command search current directory first, as bash does."
explorer09 at gmail.com
Tue Jan 10 08:42:32 UTC 2017
Please revert commit 8ad78e1ec7b2e873953f9f476fb63b5893526c39
"ash: make dot command search current directory first, as bash does."
This dot command behavior neither follows bash's behavior nor POSIX's.
Bash behavior is:
Dot command search on PATH first, *then* search the current directory.
And bash allows this behavior to turn off via POSIX compatibility mode
('set -o posix') 
POSIX behavior is:
Search for PATH only. Don't bother with current directory unless . is part
of PATH. 
BusyBox ash's behavior becomes neither of the two, so the change should be
"[With POSIX mode, t]he . and source builtins do not search the current
directory for the filename argument if it is not found by searching PATH."
(It didn't mention about current directory, only PATH.)
More information about the busybox