Skip to content

Commit

Permalink
configure uses command -v instead of which #13147
Browse files Browse the repository at this point in the history
  • Loading branch information
pongad committed Mar 29, 2014
1 parent b334f7c commit 092eefc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configure
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

5 comments on commit 092eefc

@bors
Copy link
Contributor

@bors bors commented on 092eefc Mar 29, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on 092eefc Mar 29, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging pongad/rust/fixconfig = 092eefc into auto

@bors
Copy link
Contributor

@bors bors commented on 092eefc Mar 29, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pongad/rust/fixconfig = 092eefc merged ok, testing candidate = 363198b

@bors
Copy link
Contributor

@bors bors commented on 092eefc Mar 29, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on 092eefc Mar 29, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = 363198b

Please sign in to comment.