Impr: Add a usage check for the ci/run-docker.sh script

This commit is contained in:
Gijs Burghoorn
2023-09-01 17:26:59 +02:00
committed by Amanieu d'Antras
parent f4ee8f0282
commit dd2d469c8b
+5
View File
@@ -5,6 +5,11 @@
set -ex
if [ $# -lt 1 ]; then
>&2 echo "Usage: $0 <TARGET>"
exit 1
fi
run() {
target=$(echo "${1}" | sed 's/-emulated//')
echo "Building docker container for TARGET=${1}"