[openwrt/openwrt] prereq-build: revert "fix `which` detection on Fedora"

LEDE Commits lede-commits at lists.infradead.org
Thu Sep 30 21:32:48 PDT 2021


aparcar pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/16e83a7491bb038187e918273671894992ae003c

commit 16e83a7491bb038187e918273671894992ae003c
Author: Paul Spooren <mail at aparcar.org>
AuthorDate: Thu Sep 30 18:26:14 2021 -1000

    prereq-build: revert "fix `which` detection on Fedora"
    
    This reverts commit fca5ad55d292f8e481406123d0e95b3c85d39733.
    
    Causes problems on MacOS host systems.
    
    Signed-off-by: Paul Spooren <mail at aparcar.org>
---
 include/prereq-build.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/prereq-build.mk b/include/prereq-build.mk
index 750d334716..9242407b18 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', \
-	env which which | grep which))
+	which which | grep which))
 
 $(STAGING_DIR_HOST)/bin/mkhash: $(SCRIPT_DIR)/mkhash.c
 	mkdir -p $(dir $@)



More information about the lede-commits mailing list