build: use POSIX regex in libpathrs build#5194
Merged
cyphar merged 1 commit intoopencontainers:mainfrom Mar 24, 2026
Merged
Conversation
Contributor
Author
|
cc: @cyphar |
kolyshkin
reviewed
Mar 24, 2026
kolyshkin
approved these changes
Mar 24, 2026
Contributor
kolyshkin
left a comment
There was a problem hiding this comment.
Either way is fine to me
a455873 to
af48a50
Compare
word boundary anchor \> is present only in GNU awk implementation. This will not work if we are building libpathrs inside a container like debian/ubuntu which uses mawk. Therefore switch to a POSIX compatible regex that can be used with all implementations of awk to find the system libc path Signed-off-by: Akhil Mohan <akhilerm@gmail.com> Signed-off-by: Aleksa Sarai <aleksa@amutable.com>
af48a50 to
28d5ffb
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
word boundary anchor
\>is present only in GNU awk implementation. This will not work if we are building libpathrs inside a container like debian/ubuntu which uses mawk. Therefore switch to a POSIX compatible regex that can be used with all implementations of awk to find the system libc path