From 60420533dd3edd1f5f74ce7943007b86ac73a3eb Mon Sep 17 00:00:00 2001 From: David Vierra Date: Fri, 16 Jun 2017 00:13:25 -1000 Subject: [PATCH] Fix build script to copy lang files --- mcedit2.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mcedit2.spec b/mcedit2.spec index 0ce57f8..b57cdad 100644 --- a/mcedit2.spec +++ b/mcedit2.spec @@ -81,10 +81,10 @@ subprocess.check_call([sys.executable, 'setup.py', 'develop']) subprocess.check_call([sys.executable, '-m', 'mcedit2.util.gen_ui']) # --- Languages --- - -subprocess.check_call(["git", "checkout", "https://github.com/mcedit/mcedit2-lang", "--depth", "1"]) -subprocess.check_call([sys.executable, "mcedit2-lang", "release.py"]) -shutil.copytree("mcedit2-lang/build", "src/mcedit2/i18n", ignore=shutil.ignore_patterns(["en.qm"])) +subprocess.check_call(["git", "clone", "https://github.com/mcedit/mcedit2-lang", "--depth", "1"]) +subprocess.check_call([sys.executable, "mcedit2-lang/release.py"]) +shutil.rmtree("src/mcedit2/i18n") +shutil.copytree("mcedit2-lang/build", "src/mcedit2/i18n") # --- Call PyInstaller to perform build ---