Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'build_files/buildbot/master_unpack.py')
-rw-r--r--build_files/buildbot/master_unpack.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/build_files/buildbot/master_unpack.py b/build_files/buildbot/master_unpack.py
index 46131c5e1de..ec44705931c 100644
--- a/build_files/buildbot/master_unpack.py
+++ b/build_files/buildbot/master_unpack.py
@@ -124,10 +124,12 @@ else:
directory = 'public_html/download'
try:
+ filename = os.path.join(directory, packagename)
zf = z.open(package)
- f = file(os.path.join(directory, packagename), "wb")
+ f = file(filename, "wb")
shutil.copyfileobj(zf, f)
+ os.chmod(filename, 0644)
zf.close()
z.close()