fix extract param

This commit is contained in:
Trevor Batley 2023-09-12 09:39:06 +10:00
parent 436e03293a
commit d6b94a4538

View File

@ -11,9 +11,9 @@ for param in $1 $2 $3 $4 $5 $6 $7; do
debug ) debug )
DEBUG="debug" ;; DEBUG="debug" ;;
web=* ) web=* )
KOJI_WEB_FQDN=${param#=*} ;; KOJI_WEB_FQDN=${param#*=} ;;
build=* ) build=* )
KOJI_BUILD_FQDNS=$KOJI_BUILD_FQDNS" "${param#=*} ;; KOJI_BUILD_FQDNS=$KOJI_BUILD_FQDNS" "${param#*=} ;;
esac esac
else else
break break