backout the rename of the windows executable

Differential Revision: D15739597

fbshipit-source-id: 03935668d85b2bb30bc80ec49c0be79c030b0c21
This commit is contained in:
Kostia Balytskyi 2019-06-10 10:40:23 -07:00 committed by Facebook Github Bot
parent c04b8fe56b
commit 2806757a66

View File

@ -1176,7 +1176,7 @@ class buildembedded(Command):
if not self.local_bins:
# copy .exe's from ./build/lib.win-amd64/, not from ./
bindir = pjoin(scriptdir, "build", distutils_dir_name("scripts"))
sourcename = "hg.exe" if iswindows else "hg.rust"
sourcename = "hg.rust.exe" if iswindows else "hg.rust"
else:
sourcename = "hg.exe" if iswindows else "hg"
targetname = "hg.exe" if iswindows else "hg"