Gentoo Archives: gentoo-alt

From: Aaron Wilson <tallest@×××××.com>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] [prefix] startprefix not sourcing prefixed profile, PATH not set
Date: Sun, 08 Jul 2007 16:51:20
Message-Id: 25FC30A3-B5E9-476A-AA70-84DC64514043@gmail.com
In Reply to: Re: [gentoo-alt] [prefix] startprefix not sourcing prefixed profile, PATH not set by Elias Pipping
1 This will cause OS X's bash to source the prefixed profile though. I
2 thought that was what we are avoiding with the startprefix script.
3
4 Aaron
5
6 On Jul 8, 2007, at 10:46 AM, Elias Pipping wrote:
7 > Hi,
8 >
9 > I have exactly the same problem. It's bash-specific, though.
10 >
11 > zsh and tcsh work fine (note that bash *did* work until a month ago
12 > and then
13 > broke for some reason.
14 >
15 > To work around this, you can create a link from ${eprefix}/etc/
16 > profile to ~/.profile
17 >
18 >
19 > Kind regards,
20 >
21 > Elias
22 >
23 >
24 > On Jul 8, 2007, at 6:38 PM, Fabian Groffen wrote:
25 >
26 >> On 08-07-2007 10:29:18 -0600, Aaron Wilson wrote:
27 >>> I've just bootstraped a fresh install of OS X 10.4.10 according
28 >>> to the
29 >>> documentation. I tried using the startprefix script that is
30 >>> mentioned but
31 >>> the prefixed bash doesn't source the prefixed profile and my PATH
32 >>> is not
33 >>> set.
34 >>>
35 >>> Should executing the startprefix (essentially executing
36 >>> ~/Library/Gentoo/bin/bash) script cause the prefixed profile
37 >>
38 >> This is not enough, you need to start a login shell i.e. bash -l.
39 >>
40 >>> (~/Library/Gentoo/etc/profile) to be sourced?
41 >>
42 >> However, this sounds strange. What happens if you have execute
43 >> ~/Library/Gentoo/bin/bash -l? Do you get a Gentoo prompt (providing
44 >> that you don't change your prompt in your own config files)?
45 >>
46 >> --
47 >> Fabian Groffen
48 >> Gentoo on a different level
49 >>
50 >> --
51 >> gentoo-alt@g.o mailing list
52 >>
53 >
54 > --
55 > gentoo-alt@g.o mailing list
56 >
57
58 --
59 gentoo-alt@g.o mailing list

Replies