aboutsummaryrefslogtreecommitdiff
path: root/system/efitools/efitools.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/efitools/efitools.SlackBuild')
-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}