Updates for CVE-2016-1531.
[exim-config] / Makefile
index 9ccbeee..844b31a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -82,7 +82,7 @@ CONFIGS                        = $(foreach m, $(MODES), exim4-$m.conf)
 TARGETS                        += $(CONFIGS)
 $(CONFIGS): exim4-%.conf: $(EARLY) $$(HOOKS_$$*) $(MAIN) $$(OPTIONS_$$*)
        $(V_GEN)m4 -P -DMODE=$* $^ >$@.new
-       $(V_AT)$(CHECK_$*)exim4 -C$@.new -bV >/dev/null
+       $(V_AT)$(CHECK_$*)exim4 -C$$(pwd)/$@.new -bV >/dev/null
        $(V_AT)mv $@.new $@
 
 all: $(TARGETS)