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

Correctly detect lack of /bin/tar #2

Merged
merged 1 commit into from
Nov 30, 2012
Merged

Conversation

Smylers
Copy link
Contributor

@Smylers Smylers commented Nov 29, 2012

The higher-precedence not was applying to the expression as a whole,
rather than the first component.

This was causing breakage when using $PREFER_BIN on a system without a tar
command (such as Windows typically is), such as in the installer for
Alien::wxWidgets.

The high-precedence first meant that the check for the tar command was
passing when it should fail, and second that a later failing check (for
example when gzip also isn't found) had its error message inverted to the
empty string.

The higher-precedence not was applying to the expression as a whole,
rather than the first component.

This was causing breakage when using $PREFER_BIN on a system without a tar
command (such as Windows typically is), such as in the installer for
Alien::wxWidgets.

The high-precedence first meant that the check for the tar command was
passing when it should fail, and second that a later failing check (for
example when gzip also isn't found) had its error message inverted to the
empty string.
bingos added a commit that referenced this pull request Nov 30, 2012
Correctly detect lack of /bin/tar
@bingos bingos merged commit 74958a4 into jib:master Nov 30, 2012
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.

None yet

2 participants