Skip to content

Commit

Permalink
update_gitlab-ci.sh: verify that -b option is passed
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Petazzoni <[email protected]>
  • Loading branch information
tpetazzoni committed Aug 15, 2024
1 parent 6e0654a commit af0c4c6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions update_gitlab-ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@ Usage: $0 -n version [-a arch] [-l libc] [-v variant] [-t target] [-dh]
This option defaults to no_push in order not to trigger builds
by accident or misuse.
-b tree-ish checkout Buildroot to that tree-ish object (default is
${opt_brtree})
-b tree-ish checkout Buildroot to that tree-ish object
-n version version string appended to tarball name
-a arch specify architecture to build (see \`ls configs/arch/*\`)
Expand Down Expand Up @@ -267,4 +266,9 @@ if [ -z $opt_version ] ; then
exit 1
fi

if [ -z $opt_brtree ] ; then
echo "ERROR: -b option is mandatory"
exit 1
fi

main

0 comments on commit af0c4c6

Please sign in to comment.