diff options
author | David Spencer <idlemoor@slackbuilds.org> | 2016-02-24 22:06:15 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-02-27 13:22:37 +0700 |
commit | 9c962b88affba0c4e2d6c08e48ffbf422cf32162 (patch) | |
tree | 5d0201fc1bf18c34d3e2082bfd0c84cca3169af8 /ham | |
parent | b180cf343b85471f0155fa4386d500002cec9221 (diff) | |
download | slackbuilds-9c962b88affba0c4e2d6c08e48ffbf422cf32162.tar.gz |
ham/cqrlog: Support alternate tarball name.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'ham')
-rw-r--r-- | ham/cqrlog/cqrlog.SlackBuild | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ham/cqrlog/cqrlog.SlackBuild b/ham/cqrlog/cqrlog.SlackBuild index bf4472277a..5770b0e1d4 100644 --- a/ham/cqrlog/cqrlog.SlackBuild +++ b/ham/cqrlog/cqrlog.SlackBuild @@ -59,10 +59,8 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -# now the source download has the form "v1.9.0.tar.gz" -rm -rf v$VERSION -tar xvf $CWD/v$VERSION.tar.gz -# but unpacks as "cqrlog-1.9.0" +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/v$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ |