1 |
On 01/23/2015 02:13 PM, Michał Górny wrote: |
2 |
> To help you enable the correct USE flags, we are providing a Python |
3 |
> script which generates the correct value from your /proc/cpuinfo [1]. |
4 |
> The Python script can be downloaded and executed using the following |
5 |
> command: |
6 |
> |
7 |
> $ wget -O - dev.gentoo.org/~mgorny/cpuinfo2cpuflags-x86.py | python |
8 |
|
9 |
Can we not encourage people to pipe stuff from a plain-http website into |
10 |
an interpreter? |
11 |
|
12 |
But that's not the biggest problem with the wget thing: the first time |
13 |
someone runs this it's going to fail. |
14 |
|
15 |
$ wget -O - dev.gentoo.org/~mgorny/cpuinfo2cpuflags-x86.py | python |
16 |
... |
17 |
Unable to determine PORTDIR, please set it before calling this script |
18 |
|
19 |
Now they get to download it again. Perhaps a bigger problem: |
20 |
|
21 |
$ echo $PORTDIR |
22 |
/var/cache/portage/repositories/gentoo |
23 |
$ python cpuinfo2cpuflags-x86.py |
24 |
Unable to determine PORTDIR, please set it before calling this script |
25 |
|
26 |
ಠ_ಠ |