summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--foreman/build/cache.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/foreman/build/cache.mk b/foreman/build/cache.mk
index 9ae3a7c..fdfd003 100644
--- a/foreman/build/cache.mk
+++ b/foreman/build/cache.mk
@@ -57,7 +57,7 @@ $(CACHEFILES):
fi
.PHONY: validate-cache
-validate-cache: prepare $(CACHEVALIDATE)
+validate-cache: $(CACHEVALIDATE)
@if [[ $(shell md5sum $(BUILD_BASE)/config.mk | cut -f1 -d " ") != $(shell cat $(VERSION_FILE) | grep config.mk | awk '{print $$NF}') ]]; then\
echo "Cache does not match current config.mk definition, cache must be rebuilt";\
exit 1;\