diff options
author | Michał Gołębiowski-Owczarek <m.goleb@gmail.com> | 2025-08-06 15:08:32 +0200 |
---|---|---|
committer | Michał Gołębiowski-Owczarek <m.goleb@gmail.com> | 2025-08-06 15:08:32 +0200 |
commit | a848611f9a3ac48b81c5fdcfdc1e8bd8b9de62a6 (patch) | |
tree | ca5590eb0b4ff35541e197eb5bbfdcd5f3bfd30c /test/node_smoke_tests | |
parent | 3f79644b72e928c529febc1aaee081a6c4b96be3 (diff) | |
download | jquery-main.tar.gz jquery-main.zip |
On macOS (which uses the BSD-variant of sed), the `-i` flag requires its
“backup extension” to come immediately after the i (with a space), even if
it’s empty; this made the release `sed` commands fail on macOS. The GNU sed
doesn’t require an extension but it allows it.
To make the commands work both on macOS & Linux, make the following changes:
1. Always specify the backup extension.
2. Explicitly specify the script part by using the `-e` flag.
3. To simplify the patterns, use `|` as a separator instead of `/`; then
slashes don't need to be escaped in the script parts.
Diffstat (limited to 'test/node_smoke_tests')
0 files changed, 0 insertions, 0 deletions