aboutsummaryrefslogtreecommitdiff
path: root/python/ps_mem/ps_mem.SlackBuild
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2016-01-19 23:38:21 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-20 23:59:30 +0700
commit57e8f4946243ceddb339521e08e208464cfc6726 (patch)
tree8f374145f4f2f91d14a998cfeafbabba41d097ba /python/ps_mem/ps_mem.SlackBuild
parent8d48b4421183a399a80032e97072d0a32dc92f8e (diff)
Multiple: Support alternate tarball name.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'python/ps_mem/ps_mem.SlackBuild')
-rw-r--r--python/ps_mem/ps_mem.SlackBuild4
1 files changed, 1 insertions, 3 deletions
diff --git a/python/ps_mem/ps_mem.SlackBuild b/python/ps_mem/ps_mem.SlackBuild
index f77f629b1ef8..5dd178d02952 100644
--- a/python/ps_mem/ps_mem.SlackBuild
+++ b/python/ps_mem/ps_mem.SlackBuild
@@ -56,13 +56,11 @@ fi
set -e
-SRCVER="v3.6"
-
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$SRCVER.tar.gz
+tar xvf $CWD/v$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \