Fix buildbot Python executable not found on Windows

This commit is contained in:
Brecht Van Lommel 2019-09-03 14:35:22 +02:00
parent fc99297411
commit 51d8facbc3
1 changed files with 2 additions and 1 deletions

View File

@ -20,6 +20,7 @@
import buildbot_utils
import os
import sys
if __name__ == "__main__":
builder = buildbot_utils.create_builder_from_arguments()
@ -27,4 +28,4 @@ if __name__ == "__main__":
# Run make update which handles all libraries and submodules.
make_update = os.path.join(builder.blender_dir, "build_files", "utils", "make_update.py")
buildbot_utils.call(['python3', make_update])
buildbot_utils.call([sys.executable, make_update])