Commit a9aa9b8
committed
🤖 fix: use process substitution to avoid quoting issues
eval "$(...)" had nested quote conflicts with commands containing
double quotes like --format="%(refname:short)".
Use process substitution instead: bash <(echo BASE64 | base64 -d)
This creates a file descriptor containing the decoded script, so:
- Bash reads script from file descriptor (not stdin or quoted arg)
- No quoting conflicts because script content isn't in quotes
- Script can still redirect stdin freely (exec </dev/null works)1 parent 7a5288a commit a9aa9b8
1 file changed
+6
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
398 | 398 | | |
399 | 399 | | |
400 | 400 | | |
401 | | - | |
402 | | - | |
403 | | - | |
404 | | - | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
405 | 406 | | |
406 | | - | |
| 407 | + | |
407 | 408 | | |
408 | 409 | | |
409 | 410 | | |
| |||
0 commit comments