Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 CP # 711- fix builtin provider filecontent cond for darwin #738

Merged
merged 1 commit into from
Nov 26, 2024

Conversation

eemcmullan
Copy link
Contributor

No description provided.

if runtime.GOOS == "darwin" {
cmd := fmt.Sprintf(
`find %v -type f | \
while read file; do perl -ne '/(%v)/ && print "$ARGV:$.:$1\n";' "$file"; done`,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess this is because of the differences in the installed grep, BSD vs GNU? Actually, relying on external tools to do the work when we're not running inside a container anymore might not be a good idea. Maybe we should think about doing this programmatically at some point.

@jmle
Copy link
Contributor

jmle commented Nov 26, 2024

Looks good 👍

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.

4 participants