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

View File

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