Commit 7e867f6
authored
Fix sed -i compatibility on macOS in configure (#1598)
macOS BSD sed requires an explicit empty string argument after
-i (sed -i '' 'script' file), unlike GNU sed which takes -i
without a suffix argument. Without this fix, BSD sed misinterprets
the sed script as a backup suffix and treats the filename as the
script, causing "unterminated substitute pattern" error.1 parent 64c879a commit 7e867f6
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24833 | 24833 | | |
24834 | 24834 | | |
24835 | 24835 | | |
24836 | | - | |
| 24836 | + | |
| 24837 | + | |
| 24838 | + | |
| 24839 | + | |
| 24840 | + | |
| 24841 | + | |
| 24842 | + | |
| 24843 | + | |
0 commit comments