summaryrefslogtreecommitdiffstats
path: root/source/x/hack-fonts-ttf/hack-fonts-ttf.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/x/hack-fonts-ttf/hack-fonts-ttf.SlackBuild')
-rwxr-xr-xsource/x/hack-fonts-ttf/hack-fonts-ttf.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/x/hack-fonts-ttf/hack-fonts-ttf.SlackBuild b/source/x/hack-fonts-ttf/hack-fonts-ttf.SlackBuild
index 2d06626fb..55d1a4cda 100755
--- a/source/x/hack-fonts-ttf/hack-fonts-ttf.SlackBuild
+++ b/source/x/hack-fonts-ttf/hack-fonts-ttf.SlackBuild
@@ -32,7 +32,7 @@ BUILD=${BUILD:-3}
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