Skip to content

Commit

Permalink
Add case to handle --
Browse files Browse the repository at this point in the history
  • Loading branch information
gartung committed May 15, 2024
1 parent c22a0fa commit 30010f5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/make_packages_yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ usage() {

src=$dir/templates/packagelist
want_cvmfs=false
if x=$(getopt --longoptions --long-options help,with-externals,with-cvmfs,debug,packagelist: -- "$@")
if x=$(getopt --longoptions "help,with-externals,with-cvmfs,debug,packagelist:" : "$@")
then
eval set : $x
shift
Expand Down Expand Up @@ -52,6 +52,7 @@ x--packagelist=*)
src=`echo $1 | sed -e 's/--packagelist=//'`
shift
;;
x--) shift; break;;
x*)
break;;
esac
Expand Down

0 comments on commit 30010f5

Please sign in to comment.