aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2016-01-13 00:21:45 +0000
committerRobby Workman <rworkman@slackbuilds.org>2016-01-12 21:57:56 -0600
commit08d81ac077b1b8b4de1fb0942700132bda80ff83 (patch)
tree6b14a3202375eaafe43bd9c5f63ef3e7fc28e6fa
parent8a6bcf7fc359dfa545577705cd9882898322a074 (diff)
misc/grc: Support alternate tarball name.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-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 .