diff options
-rwxr-xr-x | bin/build-packages | 26 |
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 \ |