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') [1] POSIX behavior is: Search for PATH only. Don't bother with current directory unless . is part of PATH. [2] BusyBox ash's behavior becomes neither of the two, so the change should be reverted. References: [1] https://www.gnu.org/software/bash/manual/html_node/Bash-POSIX-Mode.html "[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." [2] http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#dot (It didn't mention about current directory, only PATH.) _______________________________________________ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox