dash/depends/hosts
laanwj 5587bf15db
Merge bitcoin/bitcoin#24156: build: Replace which command with command -v
148b33cf72033eced8a701d127e21dfe8a816ce3 build: Replace `which` command with `command -v` (Hennadii Stepanov)

Pull request description:

  On some systems the `which` command can emit messages into stderr. For example, for `debianutils 5.5-1` package in Debian Sid:
  ```
  # which cat
  /usr/bin/which: this version of `which' is deprecated; use `command -v' in scripts instead.
  /bin/cat
  ```

  Although such messages are harmless, they could distract developers needlessly (see bitcoin/bitcoin#24056).

  Fixes bitcoin/bitcoin#24056.

ACKs for top commit:
  dongcarl:
    Code Review ACK 148b33cf72033eced8a701d127e21dfe8a816ce3
  laanwj:
    Code review ACK 148b33cf72033eced8a701d127e21dfe8a816ce3

Tree-SHA512: 36ee45d8831afb75a1ba6f8c8491fa5381159a2b86042140ac09037752f74e92d3e725caa793b8e97c36afe03ada0b557eede95df2bec049173c27f32ffc804a
2024-07-24 14:04:28 -05:00
..
android.mk Merge #18677: Multiprocess build support 2024-01-16 09:34:26 -06:00
darwin.mk Merge #18677: Multiprocess build support 2024-01-16 09:34:26 -06:00
default.mk
freebsd.mk
linux.mk fix: drop -static-libstc++ from depends/hosts/{linux,mingw32}.mk which is clang-only 2024-04-03 16:03:26 +07:00
mingw32.mk Merge bitcoin/bitcoin#24156: build: Replace which command with command -v 2024-07-24 14:04:28 -05:00
netbsd.mk
openbsd.mk Merge bitcoin/bitcoin#24604: build: fix copypasta in OpenBSD C{XX} flags 2024-01-01 17:48:19 -06:00