summaryrefslogtreecommitdiff
path: root/source/d/autoconf-archive/autoconf-archive.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/d/autoconf-archive/autoconf-archive.SlackBuild')
-rwxr-xr-xsource/d/autoconf-archive/autoconf-archive.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/d/autoconf-archive/autoconf-archive.SlackBuild b/source/d/autoconf-archive/autoconf-archive.SlackBuild
index 3a42c57d..6a55aa48 100755
--- a/source/d/autoconf-archive/autoconf-archive.SlackBuild
+++ b/source/d/autoconf-archive/autoconf-archive.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2020 Patrick J. Volkerding, Sebeka, Minnesota, USA
+# Copyright 2020, 2022 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -30,7 +30,7 @@ BUILD=${BUILD:-1}
if [ -z "$ARCH" ]; then
case "$(uname -m)" in
i?86) ARCH=i586 ;;
- 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 ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$(uname -m) ;;
esac