summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2016-01-18 21:17:59 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-20 02:27:21 +0700
commita7538cf89d67e9576131c7cfff36a390f7e690f6 (patch)
treeeb3603594b443f7dce6671b96a9b20e488be430c /system
parent490c8bbf4978108f52dd29e8cb8b9e9985c20795 (diff)
downloadslackbuilds-a7538cf89d67e9576131c7cfff36a390f7e690f6.tar.gz
system/efitools: Fixed ARCH.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/efitools/efitools.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/efitools/efitools.SlackBuild b/system/efitools/efitools.SlackBuild
index 771568ec1e..b2f041bed3 100644
--- a/system/efitools/efitools.SlackBuild
+++ b/system/efitools/efitools.SlackBuild
@@ -61,6 +61,8 @@ else
LIBDIRSUFFIX=""
EFI_ARCH="$ARCH"
fi
+PKGARCH="$ARCH"
+unset ARCH
set -e
@@ -91,8 +93,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-unset ARCH
-
make \
CRTPATH=/usr/lib${LIBDIRSUFFIX}/gnuefi \
MYGUID=${MYGUID} \
@@ -121,4 +121,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$PKGARCH-$BUILD$TAG.${PKGTYPE:-tgz}