1 |
On 15 Jan 2010, at 10:28, Heiko Przybyl wrote: |
2 |
|
3 |
> On Jan 15, 2010, at 5:14 PM, Johan Hattne wrote: |
4 |
> |
5 |
>> That's a different issue. What I failed to understand is why this |
6 |
>> |
7 |
>> arch=$(arch) |
8 |
>> echo "-->${arch}<--" > /dev/stderr |
9 |
>> |
10 |
>> i.e. just inserting an echo into the find_targets() function of usr/share/eselect/modules/profile.eselect prints |
11 |
>> |
12 |
>> -->x64-macos<-- |
13 |
>> |
14 |
>> to stderr (which is not what I would have expected usr/bin/arch to output under any circumstances). In the meantime, I've found out. |
15 |
> |
16 |
> Well it doesn't call (/usr)/bin/arch, but instead calls usr/share/eselect/libs/package-manager.bash's arch() function which it inherits with "inherit package-manager". That arch() function basically reduces to "portageq envvar sys-devel/gcc ARCH" which gives (for me as well) x64-macos. |
17 |
|
18 |
I concur. |
19 |
|
20 |
// Cheers; Johan |