Control: tags -1 + upstream

On Sat, Mar 28, 2015 at 07:56:01AM +0100, Christoph Anton Mitterer wrote:
[..]
> $ unset PATH
> $ /bin/bash --norc
> $ echo $PATH
> /usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:.
[..]
> It seems that this is a Debian speciallity, at least on e.g. centos a
> sane path is then set.

This is upstream's default, see also:
https://git.savannah.gnu.org/cgit/bash.git/tree/config-top.h#n63
(config-top.h define DEFAULT_PATH_VALUE)

Fedora overrides DEFAULT_PATH_VALUE like this:
  -DDEFAULT_PATH_VALUE='\"/usr/local/bin:/usr/bin\"'

Chris

Reply via email to