aboutsummaryrefslogtreecommitdiff
path: root/system/efitools
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/efitools
parent490c8bbf4978108f52dd29e8cb8b9e9985c20795 (diff)
system/efitools: Fixed ARCH.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/efitools')
-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 771568ec1ed72..b2f041bed3ede 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}