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()