Skip to content

[stable33] fix: replace sed -i with perl -pi for macOS compatibility#15350

Merged
skjnldsv merged 1 commit into
stable33from
backport/14990/stable33
Jul 21, 2026
Merged

[stable33] fix: replace sed -i with perl -pi for macOS compatibility#15350
skjnldsv merged 1 commit into
stable33from
backport/14990/stable33

Conversation

@backportbot

@backportbot backportbot Bot commented Jul 21, 2026

Copy link
Copy Markdown

Backport of PR #14990

macOS BSD sed requires a backup extension with -i (e.g. sed -i ''),
while GNU sed does not accept an empty extension. The merge-folders
target used sed -i -e which fails on macOS with:

  sed: 1: "<file>": invalid command code .

Replace with perl -pi -e which is portable across both platforms.

Fixes #13186

Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
@skjnldsv
skjnldsv enabled auto-merge July 21, 2026 09:04
@github-actions

Copy link
Copy Markdown
Contributor

📖 Documentation Preview

🔍 Open preview →

No RST documentation pages changed in this PR.

Last updated: Tue, 21 Jul 2026 09:39:36 GMT

@skjnldsv
skjnldsv merged commit 1719522 into stable33 Jul 21, 2026
22 checks passed
@skjnldsv
skjnldsv deleted the backport/14990/stable33 branch July 21, 2026 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant