Add execute permissions to artifacts

This commit is contained in:
andrew committed 2023-03-10 13:53:39 -05:00
1 parent 7143b15899
commit 6592360ac3
1 file changed
+4
+4
View File
@@ -780,6 +780,10 @@ def download_engine(arguments, workload, branch, network):
unzip_delete_file('artifact.zip', 'tmp/')
output_name = os.path.join('tmp', engine.replace(' ', '').lower())
# Binaries don't have execute permissions by default
if IS_LINUX:
os.system('chmod 777 %s\n' % (output_name))
if not private:
# Download and unzip the source from Github