Author: nbd Date: 2015-09-16 14:38:16 +0200 (Wed, 16 Sep 2015) New Revision: 46982
Modified: trunk/include/prereq.mk Log: 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 <[email protected]> Modified: trunk/include/prereq.mk =================================================================== --- trunk/include/prereq.mk 2015-09-16 12:08:05 UTC (rev 46981) +++ trunk/include/prereq.mk 2015-09-16 12:38:16 UTC (rev 46982) @@ -86,6 +86,7 @@ # 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)) \ _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
