-
Notifications
You must be signed in to change notification settings - Fork 13.3k
configure: test $SHELL's permission #30251
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
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
if [ -r "/usr/bin/env" ]; then | ||
BIN_TO_PROBE="/usr/bin/env" | ||
else | ||
err "Cannot determine if Rust should be built for i686 userland, or x86_64" |
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.
This wasn't an error before but rather it just went ahead with x86_64 (I think), could that be retained?
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.
Actually i686 would have been picked up, but anyways, I'll demote err
to warn
.
On some weird setup where $SHELL is a relative path (can happen under GNU Screen,) `file -L "$BIN_TO_PROBE"` fails and $CFG_CPUTYPE is wrongly set to i686. We should not only check its string value but also permission on filesystem.
⌛ Testing commit 00e6667 with merge b4d3b6e... |
@bors: retry force |
On some weird setup where $SHELL is a relative path (can happen under GNU Screen,) `file -L "$BIN_TO_PROBE"` fails and $CFG_CPUTYPE is wrongly set to i686. We should not only check its string value but also permission on filesystem.
On some weird setup where $SHELL is a relative path (can happen under GNU
Screen,)
file -L "$BIN_TO_PROBE"
fails and $CFG_CPUTYPE is wrongly set toi686. We should not only check its string value but also permission on
filesystem.