Skip to content

Commit

Permalink
Impr: Add a usage check for the ci/run-docker.sh script
Browse files Browse the repository at this point in the history
  • Loading branch information
coastalwhite committed Sep 1, 2023
1 parent f17c175 commit 843d743
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ci/run-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit 843d743

Please sign in to comment.