summaryrefslogtreecommitdiff
path: root/src/Makefile.in
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2019-01-16 17:26:15 +0200
committerEli Zaretskii <eliz@gnu.org>2019-01-16 17:26:15 +0200
commite96a54eb3bdfd75bafbe795ec6dd7b94ff65b8ac (patch)
tree5c130f063b7dfea8cbaa42c29fed9459aaa24546 /src/Makefile.in
parent8832de4f937aafdc58f5fa5a07b3aca549314901 (diff)
downloademacs-e96a54eb3bdfd75bafbe795ec6dd7b94ff65b8ac.tar.gz
Fix minor glitch with producing 'emacs' executable
* src/Makefile.in (LC_ALL) [!DUMPING]: Don't overwrite previous emacs-X.Y.Z executables with new ones.
Diffstat (limited to 'src/Makefile.in')
-rw-r--r--src/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.in b/src/Makefile.in
index 980bd6d10e8..1d6faf9c53b 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -564,7 +564,7 @@ ifeq ($(DUMPING),unexec)
endif
cp -f $@ bootstrap-emacs$(EXEEXT)
else
- cp -f temacs$(EXEEXT) emacs$(EXEEXT)
+ rm -f $@ && cp -f temacs$(EXEEXT) $@
endif
ifeq ($(DUMPING),pdumper)