fix cloud-build script

This commit is contained in:
Louis Abel 2024-05-01 15:15:59 -07:00
parent bbe8f20b9c
commit cfde33d6d1
Signed by: label
GPG Key ID: 2A6975660E424560
1 changed files with 3 additions and 3 deletions

View File

@ -15,14 +15,14 @@ usage: $SCRNAME [OPTIONS]
Options:
-o, --output-dir DIR
-l, --cloud-image NAME
-c, --cloud-image NAME
-p, --peridot ID # optional. will use peridot repos.
-d, --debug # optional
"
OPTS=$(getopt -a -n cloud-build -o l:,o:,p:,d,h \
-c cloud-image:,output-dir:,peridot:,debug,help -- "$@")
OPTS=$(getopt -a -n cloud-build -o c:,o:,p:,d,h \
-l cloud-image:,output-dir:,peridot:,debug,help -- "$@")
function is_in_path() {
builtin type -P "${1}"