diff options
author | David Spencer <idlemoor@slackbuilds.org> | 2016-01-16 19:31:12 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-01-17 09:27:24 +0700 |
commit | cb728cbf7b91f172149b4862fe83af93f6286097 (patch) | |
tree | 5ba2a63a1af8f831fcebb6c19ddc2a3e1b3e048f | |
parent | 9cfd6f1260c0604f2f5de747ffec489b4f36e7ed (diff) |
development/ninja-ide: Support alternate tarball name.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r-- | development/ninja-ide/ninja-ide.SlackBuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/development/ninja-ide/ninja-ide.SlackBuild b/development/ninja-ide/ninja-ide.SlackBuild index 829d37056387..863e9f4eb51e 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 . \ |