From 08d81ac077b1b8b4de1fb0942700132bda80ff83 Mon Sep 17 00:00:00 2001 From: David Spencer Date: Wed, 13 Jan 2016 00:21:45 +0000 Subject: misc/grc: Support alternate tarball name. Signed-off-by: David Spencer --- misc/grc/grc.SlackBuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'misc/grc/grc.SlackBuild') diff --git a/misc/grc/grc.SlackBuild b/misc/grc/grc.SlackBuild index 5ccb5383295b1..99177d6e7e406 100644 --- a/misc/grc/grc.SlackBuild +++ b/misc/grc/grc.SlackBuild @@ -56,13 +56,13 @@ fi set -e -SRCVER="v1.9" +SRCVER="v$VERSION" rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$SRCVER.tar.gz +tar xvf $CWD/$SRCVER.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . -- cgit v1.2.3