diff options
author | D Woodfall <dave@slackbuilds.org> | 2023-05-17 00:58:55 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-05-20 11:18:00 +0700 |
commit | 56290285426eced8c476e5d2fdf9ac812de66631 (patch) | |
tree | 7d1398c30092054ec1d7981d3183a8ec75ace11b /audio/easymp3gain | |
parent | a278e0b9c404af96c2cd9236feac89ef1eadb667 (diff) |
audio/easymp3gain: Fix ARCH section. Change to i586.
Signed-off-by: bedlam <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/easymp3gain')
-rw-r--r-- | audio/easymp3gain/easymp3gain.SlackBuild | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/audio/easymp3gain/easymp3gain.SlackBuild b/audio/easymp3gain/easymp3gain.SlackBuild index 56cf0ddd776d..d0eb25a11e32 100644 --- a/audio/easymp3gain/easymp3gain.SlackBuild +++ b/audio/easymp3gain/easymp3gain.SlackBuild @@ -34,12 +34,13 @@ LCL=${LCL:-gtk2} # otherwise "qt" if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i386 ;; + i?86) ARCH=i586 ;; *) ARCH=$( uname -m ) ;; esac fi -if ! [[ "$ARCH" = "x86_64" || "$ARCH" = "i386" ]]; then +# 2023-05-16: DW: use a pattern to allow all x86 +if [ "$ARCH" != "x86_64" ] && [[ $ARCH != i?86 ]]; then printf "\nThis won't build on $ARCH.\n\n"; exit 1 fi |