fix quotes
parent
135f2e10fe
commit
ce0fffb924
|
@ -33,7 +33,11 @@ trigger-builder-nixpacks-builder-build() {
|
||||||
for flag in $NIXPACKS_FLAGS ; do
|
for flag in $NIXPACKS_FLAGS ; do
|
||||||
local value="$(fn-plugin-property-get "builder-nixpacks" "$APP" "$flag")"
|
local value="$(fn-plugin-property-get "builder-nixpacks" "$APP" "$flag")"
|
||||||
if [[ -n "$value" ]] ; then
|
if [[ -n "$value" ]] ; then
|
||||||
NIXPACKS_ARGS="${NIXPACKS_ARGS}--${flag}=${value// /\\ } "
|
if [[ "$value" =~ " " ]] ; then
|
||||||
|
NIXPACKS_ARGS="${NIXPACKS_ARGS}--${flag}='${value}' "
|
||||||
|
else
|
||||||
|
NIXPACKS_ARGS="${NIXPACKS_ARGS}--${flag}=${value} "
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue