diff options
author | Reinis Danne <rei4dan@gmail.com> | 2014-02-02 18:57:50 +0200 |
---|---|---|
committer | Reinis Danne <rei4dan@gmail.com> | 2014-02-02 18:57:50 +0200 |
commit | cc6ae47c8c9822d529db56d56caafb408652c357 (patch) | |
tree | c16b99017be41cc5d932b1d3cf895d1c45fb8799 /sci-libs/atlas/atlas-3.10.1-r2.ebuild | |
parent | Merge branch 'master' of github.com:gentoo-science/sci (diff) | |
download | sci-cc6ae47c8c9822d529db56d56caafb408652c357.tar.gz sci-cc6ae47c8c9822d529db56d56caafb408652c357.tar.bz2 sci-cc6ae47c8c9822d529db56d56caafb408652c357.zip |
sci-libs/atlas: Fix CPU governor check
Diffstat (limited to 'sci-libs/atlas/atlas-3.10.1-r2.ebuild')
-rw-r--r-- | sci-libs/atlas/atlas-3.10.1-r2.ebuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sci-libs/atlas/atlas-3.10.1-r2.ebuild b/sci-libs/atlas/atlas-3.10.1-r2.ebuild index 373f7ad43..d2dea891b 100644 --- a/sci-libs/atlas/atlas-3.10.1-r2.ebuild +++ b/sci-libs/atlas/atlas-3.10.1-r2.ebuild @@ -28,7 +28,7 @@ pkg_setup() { local _cpufreq for _cpufreq in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor; do if [ -f ${_cpufreq} ]; then - if grep -q performance ${_cpufreq}; then + if ! grep -q performance ${_cpufreq}; then echo 2> /dev/null performance > ${_cpufreq} || \ die "${PN} needs all cpu set to performance" fi |