diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2022-03-08 13:18:34 +1300 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-03-08 09:46:14 +0700 |
commit | 27df30f75139bd1c63e70862672b1c1b9985ce7d (patch) | |
tree | 872501fd12b8697a740590fe653752dba771ad3b /network/ubertooth/ubertooth.SlackBuild | |
parent | 6908e35b80d4347bd1b4a6c41be36b2e66c95fe2 (diff) | |
download | slackbuilds-27df30f75139bd1c63e70862672b1c1b9985ce7d.tar.gz slackbuilds-27df30f75139bd1c63e70862672b1c1b9985ce7d.tar.xz |
network/ubertooth: Fix github tarball handling.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/ubertooth/ubertooth.SlackBuild')
-rw-r--r-- | network/ubertooth/ubertooth.SlackBuild | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/network/ubertooth/ubertooth.SlackBuild b/network/ubertooth/ubertooth.SlackBuild index 7a528d79c9..9dea75916b 100644 --- a/network/ubertooth/ubertooth.SlackBuild +++ b/network/ubertooth/ubertooth.SlackBuild @@ -26,6 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=ubertooth VERSION=${VERSION:-2020.12.R1} +SRCVERSION=$(echo $VERSION |tr . -) BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -69,9 +70,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-${VERSION//./-} +rm -rf $PRGNAM-$SRCVERSION +tar xvf $CWD/$PRGNAM-$SRCVERSION.tar.gz +cd $PRGNAM-$SRCVERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ |