[Bug 10446] Cannot source file in current directory in Busybox 1.27.2

bugzilla at busybox.net bugzilla at busybox.net
Fri Oct 27 14:24:12 UTC 2017


https://bugs.busybox.net/show_bug.cgi?id=10446

--- Comment #1 from Denys Vlasenko <vda.linux at googlemail.com> ---
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html

DESCRIPTION

    The shell shall execute commands from the file in the current environment.

    If file does not contain a <slash>, the shell shall use the search path
specified by PATH to find the directory containing file. Unlike normal command
search, however, the file searched for by the dot utility need not be
executable.

****************

bash deviates from the above, but only in non-POSIX mode (i.e. if run as
"bash"; if run as "sh", it won't try current dir).

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list