mirror of
https://github.com/google/brotli.git
synced 2026-07-08 17:56:58 +00:00
[PR #627] [MERGED] Work around Linuxisms #1273
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/google/brotli/pull/627
Author: @Sp1l
Created: 12/4/2017
Status: ✅ Merged
Merged: 12/4/2017
Merged by: @eustas
Base:
master← Head:patch-2📝 Commits (1)
b878174Work around Linuxisms📊 Changes
1 file changed (+4 additions, -2 deletions)
View changed files
📝
bootstrap(+4 -2)📄 Description
Missed this in my previous tests. Sorry for that.
On BSDs, both bc and sed are part of the base operating system. For sed this results in an error as the check construct (--version) is a GNU-ism and only works for GNU sed, not for bsd sed.
Similarly, BSD sed does not take parameters after the filename(s) operated on. Moving
-ito the front fixes that.-ris provided for GNU compat in BSD sed as an alias of-E. The-ioption in BSD sed requires an extension to work in-place.(thank you for picking up the nginx module too!)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.