From e96a54eb3bdfd75bafbe795ec6dd7b94ff65b8ac Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Wed, 16 Jan 2019 17:26:15 +0200 Subject: 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. --- src/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Makefile.in') 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) -- cgit v1.2.1