From 51d8facbc3275211841fc90e93875e1af88ca4a0 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Tue, 3 Sep 2019 14:35:22 +0200 Subject: Fix buildbot Python executable not found on Windows --- build_files/buildbot/slave_update.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'build_files') diff --git a/build_files/buildbot/slave_update.py b/build_files/buildbot/slave_update.py index f64b706830b..16b18de3a5d 100644 --- a/build_files/buildbot/slave_update.py +++ b/build_files/buildbot/slave_update.py @@ -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]) -- cgit v1.2.3