From 16551762371f3eb67b4be418f7b9b0a1e330f687 Mon Sep 17 00:00:00 2001 From: Srijan Choudhary Date: Fri, 9 Jan 2015 18:05:09 +0530 Subject: Don't overwrite elvis config if elvis binary is missing --- plugins/elvis.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'plugins') diff --git a/plugins/elvis.mk b/plugins/elvis.mk index f3e75a8..341038f 100644 --- a/plugins/elvis.mk +++ b/plugins/elvis.mk @@ -30,11 +30,13 @@ distclean:: distclean-elvis # Plugin-specific targets. $(ELVIS): - @$(call core_http_get,$(ELVIS_CONFIG),$(ELVIS_CONFIG_URL)) @$(call core_http_get,$(ELVIS),$(ELVIS_URL)) @chmod +x $(ELVIS) -elvis: $(ELVIS) +$(ELVIS_CONFIG): + @$(call core_http_get,$(ELVIS_CONFIG),$(ELVIS_CONFIG_URL)) + +elvis: $(ELVIS) $(ELVIS_CONFIG) @$(ELVIS) rock -c $(ELVIS_CONFIG) $(ELVIS_OPTS) distclean-elvis: -- cgit v1.2.3