ci: Use uname rather than arch
Also fixes the failure message.
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
diff --git a/ci/build.sh b/ci/build.sh
index 4e45262..0fa6238 100755
--- a/ci/build.sh
+++ b/ci/build.sh
@@ -57,9 +57,9 @@
for distro in $CONTAINERS;
do
- base_dockerfile=ci/Dockerfile/$distro.`arch`
+ base_dockerfile=ci/Dockerfile/$distro.`uname -m`
if [ ! -f $base_dockerfile ]; then
- echo '$distro not supported on `arch`.';
+ echo "$distro not supported on $(uname -m).";
continue
fi
if [[ -n "$HTTP_PROXY" ]]; then