sys-power/powertop: Fix version string
authorMatt Turner <mattst88@gentoo.org>
Wed, 27 May 2020 01:09:33 +0000 (18:09 -0700)
committerMatt Turner <mattst88@gentoo.org>
Wed, 27 May 2020 01:10:02 +0000 (18:10 -0700)
Signed-off-by: Matt Turner <mattst88@gentoo.org>
sys-power/powertop/powertop-2.11.ebuild

index 200e2c08f9f352050bb2468dfd47863b8990a2f4..e472b13d37e04de34cec450ecf4b9581f09c87e6 100644 (file)
@@ -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
 }