Set exec flag

This commit is contained in:
Mike A. Trethewey
2020-03-04 01:38:41 -08:00
parent d533a92e16
commit b1d9633c15

View File

@@ -83,6 +83,10 @@ if len(BUILD_FILENAMES) > 0:
os.path.join(".",BUILD_FILENAME)
)
# Make Linux/Mac binary executable
if "linux" in env["OS_NAME"] or "ubuntu" in env["OS_NAME"] or "mac" in env["OS_NAME"] or "osx" in env["OS_NAME"]:
os.chmod(BUILD_FILENAME,0o755)
# .zip if windows
# .tar.gz otherwise
ZIP_FILENAME = os.path.join("..","deploy",os.path.splitext(BUILD_FILENAME)[0])