diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-09-16 12:38:16 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-09-16 12:38:16 +0000 |
commit | 4d01d6ccb1abc9939907f82de7e96d63ca8091ed (patch) | |
tree | fc73ec6c1a3f49b5bd2151c664b55c636ca11672 | |
parent | e11479771d422ca9d2686c98e050d179201cc841 (diff) | |
download | upstream-4d01d6ccb1abc9939907f82de7e96d63ca8091ed.tar.gz upstream-4d01d6ccb1abc9939907f82de7e96d63ca8091ed.tar.bz2 upstream-4d01d6ccb1abc9939907f82de7e96d63ca8091ed.zip |
build: do not overwrite already existing host commands
This prevents a later prereq check from overwriting the installed tar
binary.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46982
-rw-r--r-- | include/prereq.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/prereq.mk b/include/prereq.mk index 33ac278232..6cb590e360 100644 --- a/include/prereq.mk +++ b/include/prereq.mk @@ -86,6 +86,7 @@ endef # 3+: candidates define SetupHostCommand define Require/$(1) + [ -f "$(STAGING_DIR_HOST)/bin/$(strip $(1))" ] && exit 0; \ for cmd in $(call QuoteHostCommand,$(3)) $(call QuoteHostCommand,$(4)) \ $(call QuoteHostCommand,$(5)) $(call QuoteHostCommand,$(6)) \ $(call QuoteHostCommand,$(7)) $(call QuoteHostCommand,$(8)) \ |