Skip to content

igvm_c: fix macOS compatibility for Makefile and post_process.sh#123

Open
luigix25 wants to merge 1 commit into
microsoft:mainfrom
luigix25:fix_macos
Open

igvm_c: fix macOS compatibility for Makefile and post_process.sh#123
luigix25 wants to merge 1 commit into
microsoft:mainfrom
luigix25:fix_macos

Conversation

@luigix25
Copy link
Copy Markdown
Contributor

grep -oP uses Perl regex which is not supported by BSD grep on macOS. Replace it with sed for version parsing.

sed -i without a suffix argument is GNU-specific and incompatible with BSD.

use sed -i.bak which works on both GNU and BSD sed, and remove the backup files afterwards.

grep -oP uses Perl regex which is not supported by BSD grep on macOS.
Replace it with sed for version parsing.

sed -i without a suffix argument is GNU-specific and incompatible
with BSD.

use sed -i.bak which works on both GNU and BSD sed, and remove
the backup files afterwards.

Signed-off-by: Luigi Leonardi <leonardi@redhat.com>
@luigix25 luigix25 requested a review from a team as a code owner May 29, 2026 13:16
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.

1 participant