Skip to content

Commit

Permalink
auto merge of #13193 : pongad/rust/fixconfig, r=thestinger
Browse files Browse the repository at this point in the history
Fixes #13147

Not a shell pro myself, though after running the new config, make and make check still work ok.
  • Loading branch information
bors committed Mar 29, 2014
2 parents df9cf18 + 092eefc commit 363198b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 \
Expand Down

0 comments on commit 363198b

Please sign in to comment.