summaryrefslogtreecommitdiffstats
path: root/library/stdarch/ci/run-docker.sh
diff options
context:
space:
mode:
Diffstat (limited to 'library/stdarch/ci/run-docker.sh')
-rwxr-xr-xlibrary/stdarch/ci/run-docker.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/library/stdarch/ci/run-docker.sh b/library/stdarch/ci/run-docker.sh
index 32209d96c..59170439c 100755
--- a/library/stdarch/ci/run-docker.sh
+++ b/library/stdarch/ci/run-docker.sh
@@ -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}"