diff options
Diffstat (limited to 'ham/cqrlog/cqrlog.SlackBuild')
-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 bf4472277a16b..5770b0e1d4c96 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 . \ |