Commit 6930c35
committed
fix: trim command whitespace in Docker script to avoid trailing newline issues
YAML literal blocks (|) include trailing newlines, causing commands like
'grep --version\n' to be passed to the shell. When quoted with %q, this
becomes 'grep --version\n' which the shell interprets as '--versionn'.
Now trimming whitespace from commands before embedding in the script.1 parent 0616cf6 commit 6930c35
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
423 | 423 | | |
424 | 424 | | |
425 | 425 | | |
426 | | - | |
| 426 | + | |
427 | 427 | | |
| 428 | + | |
428 | 429 | | |
429 | | - | |
| 430 | + | |
430 | 431 | | |
431 | | - | |
| 432 | + | |
432 | 433 | | |
433 | 434 | | |
434 | 435 | | |
| |||
0 commit comments