Skip to content

Commit

Permalink
Fix options parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
gartung committed Sep 19, 2024
1 parent 3e15ef3 commit e563ea2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/make_subspack
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ parse_args() {
verbose=false
plain=false
if x=$(getopt --longoptions with_caches,with_padding,spack_release:,spack_repo:,local_env:,dev_pkgs: --options vtup -- "$@")
if x=$(getopt --longoptions without_caches,with_padding,spack_release:,spack_repo:,local_env:,dev_pkgs: --options vtup -- "$@")
then
eval set : $x
shift
Expand All @@ -45,7 +45,7 @@ parse_args() {
while echo x$1 | grep x- > /dev/null
do
case "x$1" in
x--with_caches) disable_caches=true; shift ;;
x--without_caches) disable_caches=true; shift ;;
x--with_padding) padding=true; shift ;;
x--spack_release) spack_release=$2; shift; shift;;
x--spack_repo) spack_repo=$2; shift; shift;;
Expand Down

0 comments on commit e563ea2

Please # to comment.