fix: escape $ in .woodpecker/edge-subpath.yml bash array expansion
Woodpecker YAML preprocessor reads ${...} as its own variable
substitution and fails on bash array expansion "${ARR[@]}" with
"missing closing brace". Escape as $${...} so Woodpecker emits
a literal $ to the shell.
Fixes CI pipeline error=generic "missing closing brace" on
pipelines #1408 and #1409.
This commit is contained in:
parent
91a0947d7b
commit
097e7e5120
1 changed files with 1 additions and 1 deletions
|
|
@ -158,7 +158,7 @@ steps:
|
||||||
)
|
)
|
||||||
|
|
||||||
FAILED=0
|
FAILED=0
|
||||||
for handler in "${REQUIRED_HANDLERS[@]}"; do
|
for handler in "$${REQUIRED_HANDLERS[@]}"; do
|
||||||
if grep -q "$handler" "$CADDYFILE"; then
|
if grep -q "$handler" "$CADDYFILE"; then
|
||||||
echo "[PASS] Found handler: $handler"
|
echo "[PASS] Found handler: $handler"
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue