summaryrefslogtreecommitdiff
path: root/development/ninja-ide
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2016-01-16 19:31:12 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:27:24 +0700
commitcb728cbf7b91f172149b4862fe83af93f6286097 (patch)
tree5ba2a63a1af8f831fcebb6c19ddc2a3e1b3e048f /development/ninja-ide
parent9cfd6f1260c0604f2f5de747ffec489b4f36e7ed (diff)
downloadslackbuilds-cb728cbf7b91f172149b4862fe83af93f6286097.tar.gz
development/ninja-ide: Support alternate tarball name.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'development/ninja-ide')
-rw-r--r--development/ninja-ide/ninja-ide.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/development/ninja-ide/ninja-ide.SlackBuild b/development/ninja-ide/ninja-ide.SlackBuild
index 829d370563..863e9f4eb5 100644
--- a/development/ninja-ide/ninja-ide.SlackBuild
+++ b/development/ninja-ide/ninja-ide.SlackBuild
@@ -46,8 +46,8 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM
-tar xvf $CWD/v$VERSION.tar.gz
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/v$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \