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:
authorSergey Sharybin <sergey.vfx@gmail.com>2020-02-04 11:50:53 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2020-02-04 11:50:53 +0300
commitea8975cb270499788b503940c309bebefab243ab (patch)
treea9844c5d6b5ccfce3a03030741c1910ba1829474 /build_files
parent84e71195c98c261dc928b031f2d4700e16707cde (diff)
parent5dc1183580e932870064b44246e8fb750a8d806e (diff)
Merge branch 'blender-v2.82-release'
Diffstat (limited to 'build_files')
-rw-r--r--build_files/buildbot/codesign/archive_with_indicator.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/build_files/buildbot/codesign/archive_with_indicator.py b/build_files/buildbot/codesign/archive_with_indicator.py
index 51bcc28520d..0574c964612 100644
--- a/build_files/buildbot/codesign/archive_with_indicator.py
+++ b/build_files/buildbot/codesign/archive_with_indicator.py
@@ -18,6 +18,7 @@
# <pep8 compliant>
+import os
from pathlib import Path
from codesign.util import ensure_file_does_not_exist_or_die
@@ -82,6 +83,10 @@ class ArchiveWithIndicator:
If it is violated, an assert will fail.
"""
assert not self.is_ready()
+ # Try the best to make sure everything is synced to the file system,
+ # to avoid any possibility of stamp appearing on a network share prior to
+ # an actual filr.
+ os.sync()
self.ready_indicator_filepath.touch()
def clean(self) -> None: