Commit a0ce2f5
committed
fix: hoist case out of heredoc for Bash 3.2 compatibility
Bash 3.2 cannot parse case/esac inside $() inside heredocs,
causing copy_directories() to silently fail on macOS system Bash.
Move the find command into a variable before the heredoc.1 parent 673193c commit a0ce2f5
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
329 | 329 | | |
330 | 330 | | |
331 | 331 | | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
332 | 339 | | |
333 | 340 | | |
334 | 341 | | |
| |||
350 | 357 | | |
351 | 358 | | |
352 | 359 | | |
353 | | - | |
| 360 | + | |
354 | 361 | | |
355 | 362 | | |
356 | 363 | | |
| |||
0 commit comments