diff options
Diffstat (limited to 'source/n/openresolv/openresolv.SlackBuild')
-rwxr-xr-x | source/n/openresolv/openresolv.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/n/openresolv/openresolv.SlackBuild b/source/n/openresolv/openresolv.SlackBuild index 85c340e9..1cecb58a 100755 --- a/source/n/openresolv/openresolv.SlackBuild +++ b/source/n/openresolv/openresolv.SlackBuild @@ -35,7 +35,7 @@ OPENVPN=${OPENVPN:-no} 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 |