aboutsummaryrefslogtreecommitdiff
path: root/Makefile.checker
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.checker')
-rw-r--r--Makefile.checker2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.checker b/Makefile.checker
index 5c55ccf489..90c73a496d 100644
--- a/Makefile.checker
+++ b/Makefile.checker
@@ -43,7 +43,7 @@ checker/check.cmxa $(LIBCOQRUN) checker/coqchk.mli checker/coqchk.ml
$(CODESIGN_HIDE) $@
else
$(CHICKEN): $(CHICKENBYTE)
- cp $< $@
+ rm -f $@ && cp $< $@
endif
$(CHICKENBYTE): config/config.cma clib/clib.cma lib/lib.cma kernel/kernel.cma \