summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2020-05-26 18:09:33 -0700
committerMatt Turner <mattst88@gentoo.org>2020-05-26 18:10:02 -0700
commit67bed5cf9a26cd685ccf36f3503abac3a709bad2 (patch)
tree96eee30a77e97ff8c322f460a13637d4be0a57ba /sys-power
parentsys-power/powertop: Account for upstream changes (diff)
downloadgentoo-67bed5cf9a26cd685ccf36f3503abac3a709bad2.tar.gz
gentoo-67bed5cf9a26cd685ccf36f3503abac3a709bad2.tar.bz2
gentoo-67bed5cf9a26cd685ccf36f3503abac3a709bad2.zip
sys-power/powertop: Fix version string
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'sys-power')
-rw-r--r--sys-power/powertop/powertop-2.11.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-power/powertop/powertop-2.11.ebuild b/sys-power/powertop/powertop-2.11.ebuild
index 200e2c08f9f3..e472b13d37e0 100644
--- a/sys-power/powertop/powertop-2.11.ebuild
+++ b/sys-power/powertop/powertop-2.11.ebuild
@@ -106,8 +106,8 @@ src_prepare() {
# Bug 599114
sed -i '1s|^|AX_REQUIRE_DEFINED([AX_CXX_COMPILE_STDCXX_11])|' configure.ac || die
- chmod +x scripts/version || die "Failed to make 'scripts/version' executable"
- scripts/version || die "Failed to extract version information"
+ echo "\"${PV}\"" > version-short
+ echo "${PV}" > version-long
eautoreconf
}