Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/build-packages
diff options
context:
space:
mode:
Diffstat (limited to 'bin/build-packages')
-rwxr-xr-xbin/build-packages26
1 files changed, 13 insertions, 13 deletions
diff --git a/bin/build-packages b/bin/build-packages
index 066ef24..6d69ac1 100755
--- a/bin/build-packages
+++ b/bin/build-packages
@@ -205,20 +205,20 @@ while [ "${count}" -ne 0 ] && \
fi
err=0
+ case "$(uname -m)" in
+ 'i486')
+ arch='i486'
+ ;;
+ 'i686'|'x86_64')
+ arch='i686'
+ ;;
+ *)
+ >&2 printf 'Sorry, architecture %s does not work (yet) as a build slave.\n' \
+ "$(uname -m)"
+ exit 2
+ ;;
+ esac
if [ -z "${forced_package}" ]; then
- case "$(uname -m)" in
- 'i486')
- arch='i486'
- ;;
- 'i686'|'x86_64')
- arch='i686'
- ;;
- *)
- >&2 printf 'Sorry, architecture %s does not work (yet) as a build slave.\n' \
- "$(uname -m)"
- exit 2
- ;;
- esac
package=$(
# shellcheck disable=SC2029
ssh \