diff options
| author | Gaëtan Gilbert | 2019-10-30 16:10:40 +0100 |
|---|---|---|
| committer | Gaëtan Gilbert | 2019-10-30 16:11:12 +0100 |
| commit | fe61f673dfdba1598842b9d56a761c5229aaf4e9 (patch) | |
| tree | 7f8944287a502bde0df44c81f188cfe4f59cd32c /Makefile.checker | |
| parent | dbcdc4e53758339d2a7eb96d19fbcffeb143154d (diff) | |
make: guard cp calls with rm -f on executables
Fix #10728
Diffstat (limited to 'Makefile.checker')
| -rw-r--r-- | Makefile.checker | 2 |
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 \ |
