]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix minor glitch with producing 'emacs' executable
authorEli Zaretskii <eliz@gnu.org>
Wed, 16 Jan 2019 15:26:15 +0000 (17:26 +0200)
committerEli Zaretskii <eliz@gnu.org>
Wed, 16 Jan 2019 15:26:15 +0000 (17:26 +0200)
* src/Makefile.in (LC_ALL) [!DUMPING]: Don't overwrite
previous emacs-X.Y.Z executables with new ones.

src/Makefile.in

index 980bd6d10e8ab95f2ce8deb75c4cf8501553a3dc..1d6faf9c53b4b74044b9f0e01d4d2dd934c0023f 100644 (file)
@@ -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)