diff options
| author | bors <bors@rust-lang.org> | 2014-03-29 04:51:38 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-03-29 04:51:38 -0700 |
| commit | 363198bca029802200b4eb7bc75ef7b9340a2496 (patch) | |
| tree | c42b813649fa35fbd466ce46885fddb735e364ca | |
| parent | df9cf18c10099d15146580ab6a2b64f2d2007a89 (diff) | |
| parent | 092eefcfb21737364033a2b93fff0bc58af8a3e6 (diff) | |
| download | rust-363198bca029802200b4eb7bc75ef7b9340a2496.tar.gz rust-363198bca029802200b4eb7bc75ef7b9340a2496.zip | |
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.
| -rwxr-xr-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure index 70776849df8..402a3c0e0d8 100755 --- a/configure +++ b/configure @@ -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 \ |
