summaryrefslogtreecommitdiffstats
path: root/source/installer/repack_installer.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/installer/repack_installer.SlackBuild')
-rwxr-xr-xsource/installer/repack_installer.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/installer/repack_installer.SlackBuild b/source/installer/repack_installer.SlackBuild
index b8b2af91f..e14b2993f 100755
--- a/source/installer/repack_installer.SlackBuild
+++ b/source/installer/repack_installer.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright 2019 Patrick J. Volkerding, Sebeka, Minnesota, USA
+# Copyright 2019, 2023 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -33,15 +33,15 @@ TMP=${TMP:-/tmp}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$(uname -m)" in
- i?86) ARCH=i586
+ i?86) ARCH=i686
SLACKROOT=${SLACKROOT:-/root/slackware-current}
- OUTPUT=${OUTPUT:-$TMP/output-ia32-$(basename $(uname -r) -smp)}
+ OUTPUT=${OUTPUT:-$TMP/output-ia32-$(basename $(uname -r))}
;;
x86_64) ARCH=x86_64
SLACKROOT=${SLACKROOT:-/root/slackware64-current}
OUTPUT=${OUTPUT:-$TMP/output-x86_64-$(uname -r)}
;;
- arm*) readelf /usr/bin/file -A | egrep -q "Tag_CPU.*[4,5]" && ARCH=arm || ARCH=armv7hl
+ arm*) readelf /usr/bin/file -A | grep -E -q "Tag_CPU.*[4,5]" && ARCH=arm || ARCH=armv7hl
SLACKROOT=${SLACKROOT:-/root/slackware-current}
OUTPUT=${OUTPUT:-$TMP/output-arm-$(uname -r)}
;;