mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
auto merge of #13193 : pongad/rust/fixconfig, r=thestinger
Fixes #13147 Not a shell pro myself, though after running the new config, make and make check still work ok.
This commit is contained in:
commit
363198bca0
4
configure
vendored
4
configure
vendored
@ -27,7 +27,7 @@ need_ok() {
|
||||
}
|
||||
|
||||
need_cmd() {
|
||||
if which $1 >/dev/null 2>&1
|
||||
if command -v $1 >/dev/null 2>&1
|
||||
then msg "found $1"
|
||||
else err "need $1"
|
||||
fi
|
||||
@ -83,7 +83,7 @@ probe() {
|
||||
local T
|
||||
for P
|
||||
do
|
||||
T=$(which $P 2>&1)
|
||||
T=$(command -v $P 2>&1)
|
||||
if [ $? -eq 0 ]
|
||||
then
|
||||
VER0=$($P --version 2>/dev/null | head -1 \
|
||||
|
Loading…
Reference in New Issue
Block a user