aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-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 5ccb5383295b..99177d6e7e40 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 .