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 <javelinanddart@bestas.gr>
This commit is contained in:
@@ -51,8 +51,8 @@ if [ -z "$SRC" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "$TARGET" ]; then
|
if [ -z "$TARGET" ]; then
|
||||||
echo "Warning, target for extraction not specified, defaulting to arm"
|
echo "Architecture for extraction not specified! Specify one with --target"
|
||||||
TARGET=arm
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Initialize the helper for common gapps
|
# Initialize the helper for common gapps
|
||||||
|
Reference in New Issue
Block a user