#!/bin/bash
# Check current system architecture

set -e

RUNNING_ARCH=$(uname -m)
if [ "$RUNNING_ARCH" != "x86_64" ]; then
  echo "ERROR: only 64bit architecture supported. Exiting." >&2
  exit 1
fi