diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2019-01-06 20:03:14 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2019-01-07 08:59:45 +0100 |
commit | 4cc8e8065bec7cf7f1dfc8a8806a02075fa3c0f7 (patch) | |
tree | 4788dd7df9ff468a23062e5011fef8e735a46f26 /source/ap/powertop | |
parent | 29982cb6ad8ed85e9ec2dc4b74f02b3f10b89d6a (diff) | |
download | current-4cc8e8065bec7cf7f1dfc8a8806a02075fa3c0f7.tar.gz |
Sun Jan 6 20:03:14 UTC 201920190106200314
a/ncompress-4.2.4.5-x86_64-1.txz: Upgraded.
ap/man-db-2.8.5-x86_64-1.txz: Upgraded.
Added /etc/profile.d/man-db.{csh,sh} to pick a MANPAGER (defaults to 'most').
ap/powertop-2.10-x86_64-1.txz: Upgraded.
d/scons-3.0.2-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/ap/powertop')
-rwxr-xr-x | source/ap/powertop/powertop.SlackBuild | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/ap/powertop/powertop.SlackBuild b/source/ap/powertop/powertop.SlackBuild index 3fc2904c..94c63640 100755 --- a/source/ap/powertop/powertop.SlackBuild +++ b/source/ap/powertop/powertop.SlackBuild @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=powertop -VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} +VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev | tr -d 'v')} BUILD=${BUILD:-1} # Automatically determine the architecture we're building on: @@ -72,8 +72,8 @@ fi cd $TMP rm -rf ${PKGNAM}-${VERSION} -tar xvf $CWD/${PKGNAM}-$VERSION.tar.?z || exit 1 -cd ${PKGNAM}-$VERSION || exit 1 +tar xvf $CWD/${PKGNAM}-v$VERSION.tar.?z || tar xvf $CWD/${PKGNAM}-$VERSION.tar.?z || exit 1 +cd ${PKGNAM}-v$VERSION || ${PKGNAM}-v$VERSION || exit 1 # Make sure ownerships and permissions are sane: chown -R root:root . |