Summary: | In bash, sourcing a filename searches $PATH before searching the current directory. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | dan zwell <zwelld> |
Component: | [OLD] Core system | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED INVALID | ||
Severity: | minor | ||
Priority: | Lowest | ||
Version: | 2006.1 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
dan zwell
2006-09-10 14:19:34 UTC
*** Bug 147104 has been marked as a duplicate of this bug. *** man bash /source <snip> If filename does not contain a slash, file names in PATH are used to find the directory containing filename. The file searched for in PATH need not be executable. When bash is not in posix mode, the current directory is searched if no file is found in PATH. If the sourcepath option to the shopt builtin command is turned off, the PATH is not searched. </snip> |