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

setup/git.sh: fix non-portable sed invocation #46010

Merged
merged 2 commits into from
Sep 14, 2023

Conversation

q66
Copy link
Contributor

@q66 q66 commented Sep 11, 2023

This lets xbps-src work in non-GNU environments.

Testing the changes

  • I tested the changes in this PR: YES

@classabbyamp classabbyamp added the xbps-src xbps-src related label Sep 11, 2023
@q66
Copy link
Contributor Author

q66 commented Sep 11, 2023

there is also a non-portable stat invocation in the other branch of the same conditional

@q66
Copy link
Contributor Author

q66 commented Sep 12, 2023

Added an abstraction for stat(1) to allow it to work with either flavor. I couldn't find anything else that would be broken

This lets xbps-src work in non-GNU environments.
This implements semi-portable abstractions for both GNU and BSD
flavors of stat.
@sgn sgn merged commit 937272e into void-linux:master Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
xbps-src xbps-src related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants