From 18811d922e43d5c525c90ec893e0b0f2ae1cda0a Mon Sep 17 00:00:00 2001 From: David P Date: Sat, 18 Jan 2020 21:58:06 -0300 Subject: only run on x86_64 Signed-off-by: David P --- configs/profile/build.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'configs/profile/build.sh') diff --git a/configs/profile/build.sh b/configs/profile/build.sh index e4de80e..8b3fac5 100755 --- a/configs/profile/build.sh +++ b/configs/profile/build.sh @@ -238,6 +238,11 @@ if [[ ${EUID} -ne 0 ]]; then _usage 1 fi +if [[ ${arch} != x86_64 ]]; then + echo "This script needs to be run on x86_64" + _usage 1 +fi + while getopts 'N:V:L:P:A:D:w:o:g:vh' arg; do case "${arg}" in N) iso_name="${OPTARG}" ;; -- cgit v1.2.2