aboutsummaryrefslogtreecommitdiff
path: root/network/opendmarc/opendmarc.SlackBuild
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2022-03-08 18:29:13 +1300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-03-09 17:21:06 +0700
commit2aaff2f3768a0f0bbea43b48c98da51d89f35787 (patch)
tree9d444992303b46b1f6393848858f607cb3aa4b58 /network/opendmarc/opendmarc.SlackBuild
parentcde2b1a76e2a94b18aa792136d2f312b44233bb8 (diff)
network/opendmarc: 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/opendmarc/opendmarc.SlackBuild')
-rw-r--r--network/opendmarc/opendmarc.SlackBuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/network/opendmarc/opendmarc.SlackBuild b/network/opendmarc/opendmarc.SlackBuild
index 5ef68fe806d00..ace7bc9b8d773 100644
--- a/network/opendmarc/opendmarc.SlackBuild
+++ b/network/opendmarc/opendmarc.SlackBuild
@@ -30,8 +30,7 @@ BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-SRCNAM=rel-$PRGNAM-${VERSION//./-}
-DIRNAM=OpenDMARC-$SRCNAM
+SRCNAM=OpenDMARC-rel-$PRGNAM-${VERSION//./-}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -100,9 +99,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $DIRNAM
+rm -rf $SRCNAM
tar xvf $CWD/$SRCNAM.tar.gz
-cd $DIRNAM
+cd $SRCNAM
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \