Skip to content

Conversation

@mthalman
Copy link
Member

The -P option (Perl regular expression syntax) used for the grep command in the IdentityModel script patch isn't recognized in the BusyBox version of grep. So this fails in Alpine builds.

I've replaced the usage of those grep statements to use sed instead. This time I've verified these commands work across all distros we use in CI: Alpine, CentOS, Fedora, Ubuntu.

Fixes dotnet/source-build#3590

@mthalman mthalman merged commit 72f5ac0 into dotnet:main Aug 14, 2023
@mthalman mthalman deleted the sb3590 branch August 14, 2023 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unrecognized option P for grep call in IdentityModel script

2 participants