diff options
author | David Spencer <idlemoor@slackbuilds.org> | 2016-01-13 00:21:45 +0000 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2016-01-12 21:57:56 -0600 |
commit | 08d81ac077b1b8b4de1fb0942700132bda80ff83 (patch) | |
tree | 6b14a3202375eaafe43bd9c5f63ef3e7fc28e6fa /misc/grc | |
parent | 8a6bcf7fc359dfa545577705cd9882898322a074 (diff) | |
download | slackbuilds-08d81ac077b1b8b4de1fb0942700132bda80ff83.tar.gz |
misc/grc: Support alternate tarball name.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'misc/grc')
-rw-r--r-- | misc/grc/grc.SlackBuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/grc/grc.SlackBuild b/misc/grc/grc.SlackBuild index 5ccb538329..99177d6e7e 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 . |