diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2022-03-07 17:56:07 +1300 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-03-08 09:46:11 +0700 |
commit | 66e131f0d231ee4ce832bc6b6f7e510edde00fda (patch) | |
tree | 68bfd6fa8a6ffb58fa8e2ad8b25567c10bf711d3 | |
parent | 5e174c0263f86b02b5e2c1d1ee55f96dd6964698 (diff) |
audio/ntk: Fix tarball handling.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | audio/ntk/ntk.SlackBuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/audio/ntk/ntk.SlackBuild b/audio/ntk/ntk.SlackBuild index f1fb0349cee6..ebaaeb56c508 100644 --- a/audio/ntk/ntk.SlackBuild +++ b/audio/ntk/ntk.SlackBuild @@ -56,7 +56,11 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM -tar xvf $CWD/v"${VERSION}".tar.gz +TARBALL=$CWD/v"${VERSION}".tar.gz +if [ ! -e "$TARBALL" ] ; then + TARBALL=$CWD/$PRGNAM-v"${VERSION}".tar.gz +fi +tar xvf "$TARBALL" cd $PRGNAM chown -R root:root . |