RFC use `command -v' instead of `which'
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest2 patches 10 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | make: support: use `command -v' instead of `which'Makefile package/ support/ +8 more | +35 | 0 replies | |
| 2/2 | support/dependencies: don't check for `which'support/ | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Buildroot] [RFC PATCH 0/2] use `command -v' instead of `which'
Hi,
I've tested the patchset on dash as the default shell. But it certainly deserve more people to have look and test.
NOTE: If accepted, we might want to use `command -v' also in scripts:
$ git grep '$(which' package/fakedate/fakedate:for date in $(which -a date |tac); do package/transmission/S92transmission:DAEMON=$(which $NAME)
Kind regards,
Petr
Petr Vorel (2):
make: support: use command -v' instead of which' support/dependencies: don't check for `which'
Makefile | 22 +++++++++---------- package/Makefile.in | 8 +++---- support/dependencies/check-host-bison-flex.mk | 4 ++-- support/dependencies/check-host-cmake.sh | 2 +- support/dependencies/check-host-gzip.sh | 2 +- support/dependencies/check-host-lzip.sh | 4 ++-- support/dependencies/check-host-python3.sh | 2 +- support/dependencies/check-host-tar.sh | 4 ++-- support/dependencies/check-host-xzcat.sh | 4 ++-- support/dependencies/dependencies.sh | 18 +++++++-------- .../pkg-toolchain-external.mk | 2 +- 11 files changed, 35 insertions(+), 37 deletions(-)
Signature · 6 lines
2.33.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot