main
Andrew Coleman 2022-08-30 12:12:13 -04:00
parent ce0fffb924
commit 4c1de15b53
1 changed files with 2 additions and 2 deletions

View File

@ -34,9 +34,9 @@ trigger-builder-nixpacks-builder-build() {
local value="$(fn-plugin-property-get "builder-nixpacks" "$APP" "$flag")"
if [[ -n "$value" ]] ; then
if [[ "$value" =~ " " ]] ; then
NIXPACKS_ARGS="${NIXPACKS_ARGS}--${flag}='${value}' "
NIXPACKS_ARGS="${NIXPACKS_ARGS}--${flag} \"${value}\" "
else
NIXPACKS_ARGS="${NIXPACKS_ARGS}--${flag}=${value} "
NIXPACKS_ARGS="${NIXPACKS_ARGS}--${flag} ${value} "
fi
fi
done