From cb728cbf7b91f172149b4862fe83af93f6286097 Mon Sep 17 00:00:00 2001 From: David Spencer Date: Sat, 16 Jan 2016 19:31:12 +0000 Subject: development/ninja-ide: Support alternate tarball name. Signed-off-by: David Spencer --- development/ninja-ide/ninja-ide.SlackBuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'development/ninja-ide/ninja-ide.SlackBuild') 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 . \ -- cgit v1.2.3