mirror of
https://github.com/SlackBuildsOrg/slackbuilds
synced 2024-09-28 15:21:00 +02:00
audio/easymp3gain: Fix ARCH section. Change to i586.
Signed-off-by: bedlam <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
a278e0b9c4
commit
5629028542
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue