summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2016-06-05 19:22:36 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-06-08 08:33:37 +0700
commit0f6e7fd029af6e4cb0096734aa6587db922fb633 (patch)
treecdde6bab02a672c62e840a132d1fa03a86601e7b
parenta4f1aee003a0940aba0e6d541397e369e8a8c3a3 (diff)
downloadslackbuilds-0f6e7fd029af6e4cb0096734aa6587db922fb633.tar.gz
libraries/muParser: Fix tarball handling.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
-rw-r--r--libraries/muParser/muParser.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/muParser/muParser.SlackBuild b/libraries/muParser/muParser.SlackBuild
index 6234bcf7ea..998068dfd6 100644
--- a/libraries/muParser/muParser.SlackBuild
+++ b/libraries/muParser/muParser.SlackBuild
@@ -62,12 +62,12 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCNAM-$SRCVER
+rm -rf $SRCNAM-$VERSION
if [ -e $CWD/$SRCVER.tar.gz ]; then
tar xvf $CWD/$SRCVER.tar.gz
else
- tar xvf $CWD/$SRCNAM-$SRCVER.tar.gz
+ tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
fi
cd $SRCNAM-$VERSION