From 7fc64e946c766a138678d2d710ec5a448ccd2b6c Mon Sep 17 00:00:00 2001 From: Paul Keith Date: Tue, 9 May 2017 14:46:55 -0500 Subject: [PATCH] extract-files: Force architecture to be specified * This also functions as a rudimentary help option if the script is run without any arguments, or if any of the arguments are not provided Change-Id: I311df9f52a1dd51da676c3b004a98eefbd79e12e Signed-off-by: Paul Keith --- extract-files.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extract-files.sh b/extract-files.sh index 99f1073..881b458 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -51,8 +51,8 @@ if [ -z "$SRC" ]; then fi if [ -z "$TARGET" ]; then - echo "Warning, target for extraction not specified, defaulting to arm" - TARGET=arm + echo "Architecture for extraction not specified! Specify one with --target" + exit 1 fi # Initialize the helper for common gapps