diff options
author | Jani Partanen <rtfm@iki.fi> | 2021-09-30 23:51:37 +0300 |
---|---|---|
committer | Paul Spooren <mail@aparcar.org> | 2021-09-30 12:31:41 -1000 |
commit | fca5ad55d292f8e481406123d0e95b3c85d39733 (patch) | |
tree | 070e2558435e2729fa0df6f7a37bbf70cf4ebd51 | |
parent | b34a349f0757fe6a3d96eb3ba70d63d80e7eba6e (diff) | |
download | upstream-fca5ad55d292f8e481406123d0e95b3c85d39733.tar.gz upstream-fca5ad55d292f8e481406123d0e95b3c85d39733.tar.bz2 upstream-fca5ad55d292f8e481406123d0e95b3c85d39733.zip |
prereq-build: fix `which` detection on Fedora
Fix Fedora 34/35 issue where 'which' detection of 'which' wasn't working
because Fedora use alias and proc
Signed-off-by: Jani Partanen <rtfm@iki.fi>
[fix commit subject and message]
Signed-off-by: Paul Spooren <mail@aparcar.org>
-rw-r--r-- | include/prereq-build.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/prereq-build.mk b/include/prereq-build.mk index 9242407b18..750d334716 100644 --- a/include/prereq-build.mk +++ b/include/prereq-build.mk @@ -186,7 +186,7 @@ $(eval $(call SetupHostCommand,rsync,Please install 'rsync', \ rsync --version </dev/null)) $(eval $(call SetupHostCommand,which,Please install 'which', \ - which which | grep which)) + env which which | grep which)) $(STAGING_DIR_HOST)/bin/mkhash: $(SCRIPT_DIR)/mkhash.c mkdir -p $(dir $@) |