Fix bug in package_release_build, chmod +x

This commit is contained in:
PJB3005
2017-08-09 09:50:42 +02:00
parent 5cfa365ad1
commit 432781f9b1
2 changed files with 3 additions and 2 deletions

5
package_release_build.py Normal file → Executable file
View File

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