Gentoo Archives: gentoo-dev

From: Andrew Gaffney <agaffney@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Why isn't /root/.bash_profile in the stage tarballs?
Date: Thu, 20 Sep 2007 11:58:39
Message-Id: 46F25D8E.2090800@gentoo.org
In Reply to: Re: [gentoo-dev] Why isn't /root/.bash_profile in the stage tarballs? by "John R. Graham"
1 John R. Graham wrote:
2 > I didn't say anything about emerge; I was talking about the Stage
3 > tarballs. I know, I know: Catalyst uses emerge.
4 >
5 > But, hasn't anyone realized that bash is _broken_ if this file doesn't
6 > exist? Quoting from the upstream-provided man page, "When an
7 > interactive shell that is not a login shell is started, bash reads and
8 > executes commands from ~/.bashrc, if that file exists." Is that really
9 > the intention here? To break upstream-defined behavior?
10
11 First, please don't top-post. Second, you have an odd definition of "broken".
12 You seem to have complete glossed over the last part of the sentence that you
13 pasted: "if that file exists". Bash will *not* freak out and rape your dog if
14 the file doesn't exist. All it means is that you get nothing more in your env
15 than what's defined by /etc/profile.
16
17 --
18 Andrew Gaffney http://dev.gentoo.org/~agaffney/
19 Gentoo Linux Developer Catalyst/Installer + x86 release coordinator
20 --
21 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] Why isn't /root/.bash_profile in the stage tarballs? "John R. Graham" <n3440d@×××××.com>