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