summaryrefslogtreecommitdiffstats
path: root/system/megacli/megacli.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/megacli/megacli.SlackBuild')
-rw-r--r--system/megacli/megacli.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/system/megacli/megacli.SlackBuild b/system/megacli/megacli.SlackBuild
index c6d7068e26..8cdbaf55a1 100644
--- a/system/megacli/megacli.SlackBuild
+++ b/system/megacli/megacli.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for MegaCLI
-# Copyright 2020 Ebben Aries <e@dscp.org>
+# Copyright 2020 Ebben Aries <slackbuilds@dscp.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -30,6 +30,7 @@ RPMNAM=MegaCli
VERSION=${VERSION:-8.07.14}
ZIPVER="$(echo $VERSION | sed -e 's/\./\-/g')"
BUILD=${BUILD:-1}
+RPMBUILD=${RPMBUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -68,7 +69,7 @@ rm -rf $PRGNAM-$VERSION
unzip -d $PRGNAM-$VERSION $CWD/${ZIPVER}_$ZIPNAM.zip
cd $PRGNAM-$VERSION/Linux
-rpm2cpio < ${RPMNAM}-${VERSION}-${BUILD}.noarch.rpm | cpio -imdv
+rpm2cpio < ${RPMNAM}-${VERSION}-${RPMBUILD}.noarch.rpm | cpio -imdv
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \