-
Notifications
You must be signed in to change notification settings - Fork 417
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
check return code when selecting patch type #4873
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the patch @jjhelmus, could you add a news item?
Done |
@jjhelmus the tests are all hanging around the same place (I’ve also rerun the tests twice and get the same issue) so something is wrong with this change |
When determining which patch file to apply check the return code of the patch command and ignore those which indicate failure.
Hi there, thank you for your contribution! This pull request has been automatically marked as stale because it has not had recent activity. It will be closed automatically if no further activity occurs. If you would like this pull request to remain open please:
NOTE: If this pull request was closed prematurely, please leave a comment. Thanks! |
1 similar comment
Hi there, thank you for your contribution! This pull request has been automatically marked as stale because it has not had recent activity. It will be closed automatically if no further activity occurs. If you would like this pull request to remain open please:
NOTE: If this pull request was closed prematurely, please leave a comment. Thanks! |
Description
When selecting between the .native, .lf, and .crlf patches, do not mark the result as successful if a non-zero (failure) return value was returned.
This also allows platforms whose patch commands do not support the
--binary
argument, such as FreeBSD, to use patches in recipes.Checklist - did you ...
news
directory (using the template) for the next release's release notes?