summaryrefslogtreecommitdiff
path: root/development/ninja-ide/ninja-ide.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/ninja-ide/ninja-ide.SlackBuild')
-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 . \