From e563ea2e680ecaf57d4a4ea804d7ba6a88022080 Mon Sep 17 00:00:00 2001 From: Patrick Gartung Date: Thu, 19 Sep 2024 11:26:39 -0500 Subject: [PATCH] Fix options parsing --- bin/make_subspack | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/make_subspack b/bin/make_subspack index 7357149..b5da484 100755 --- a/bin/make_subspack +++ b/bin/make_subspack @@ -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 @@ -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;;