jenkins-infra / release

Contains every things needed to release jenkins core from the jenkins infra project
MIT License
13 stars 22 forks source link

Fix sed for Linux #562

Closed MarkEWaite closed 1 month ago

MarkEWaite commented 1 month ago

Fix sed -i for Linux

The sed -i "" syntax works on the BSD variants but not on Linux variants.

The sed -i syntax works on Linux variants but not on BSD variants (like macOS).

The sed -i'' syntax works on both BSD variants and Linux variants.