diff options
Diffstat (limited to 'extra/source/xf86-video-fbdev/xf86-video-fbdev.SlackBuild')
-rwxr-xr-x | extra/source/xf86-video-fbdev/xf86-video-fbdev.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/source/xf86-video-fbdev/xf86-video-fbdev.SlackBuild b/extra/source/xf86-video-fbdev/xf86-video-fbdev.SlackBuild index 095e2b0bd..bc5125b3c 100755 --- a/extra/source/xf86-video-fbdev/xf86-video-fbdev.SlackBuild +++ b/extra/source/xf86-video-fbdev/xf86-video-fbdev.SlackBuild @@ -29,7 +29,7 @@ BUILD=${BUILD:-2} 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=armv7lh ;; + arm*) readelf /usr/bin/file -A | grep -E -q "Tag_CPU.*[4,5]" && ARCH=arm || ARCH=armv7lh ;; # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$(uname -m) ;; esac |