From 432781f9b183fab9aef0111eb8cbd0c534a0cbbe Mon Sep 17 00:00:00 2001 From: PJB3005 Date: Wed, 9 Aug 2017 09:50:42 +0200 Subject: [PATCH] Fix bug in package_release_build, chmod +x --- RUN_THIS.py | 0 package_release_build.py | 5 +++-- 2 files changed, 3 insertions(+), 2 deletions(-) mode change 100644 => 100755 RUN_THIS.py mode change 100644 => 100755 package_release_build.py diff --git a/RUN_THIS.py b/RUN_THIS.py old mode 100644 new mode 100755 diff --git a/package_release_build.py b/package_release_build.py old mode 100644 new mode 100755 index 7024e870e4..f5ae4e12e4 --- a/package_release_build.py +++ b/package_release_build.py @@ -22,8 +22,9 @@ except ImportError: def main(): # Wipe out old build directory. - print(Fore.BLUE + Style.DIM + "Clearing old build artifacts..." + Style.RESET_ALL) - shutil.rmtree("bin") + if os.path.exists("bin"): + print(Fore.BLUE + Style.DIM + "Clearing old build artifacts..." + Style.RESET_ALL) + shutil.rmtree("bin") build_windows()