Use POSIX "command" instead of non-standard "which" (dotnet/coreclr#8823)
authorJürgen Hötzel <juergen@hoetzel.info>
Fri, 6 Jan 2017 00:15:49 +0000 (01:15 +0100)
committerJan Vorlicek <janvorli@microsoft.com>
Fri, 6 Jan 2017 00:15:49 +0000 (01:15 +0100)
commit9b9e122aaf182aa053b9d0d166fea274434dda60
treef5e2ae60967c5911e80c5eb563dc3492d8b473ab
parent3630d4a7aad3b6b0044deb99cef1e1895d6b2cdb
Use POSIX "command" instead of non-standard "which" (dotnet/coreclr#8823)

GNU which might not be installed on a minimal GNU/Linux installation.

Refs dotnet/coreclr#6994 and dotnet/coreclr#7025.

Commit migrated from https://github.com/dotnet/coreclr/commit/7f8557fb17c58a093bf54bd17e965b9181bba772
src/coreclr/build.sh
src/coreclr/init-tools.sh
src/coreclr/src/corefx/format-code.sh
src/coreclr/src/pal/tools/gen-buildsys-clang.sh