aboutsummaryrefslogtreecommitdiff
path: root/misc/grc
diff options
context:
space:
mode:
Diffstat (limited to 'misc/grc')
-rw-r--r--misc/grc/grc.SlackBuild4
1 files changed, 2 insertions, 2 deletions
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 .