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>2015-12-02 21:30:33 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2015-12-02 21:30:33 +0300
commit6af1cde2397eaebefac7a4c2b6d6d7352e771c59 (patch)
tree570694976029322e34a0f07d09a076bcf6b9fa2b /build_files/buildbot/slave_pack.py
parent62521fce48255e5e7fe0d34727a6478ad636b1ba (diff)
Buildbot: Attempt to fix cpack target on windows
Was using wrong working directory.
Diffstat (limited to 'build_files/buildbot/slave_pack.py')
-rw-r--r--build_files/buildbot/slave_pack.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/build_files/buildbot/slave_pack.py b/build_files/buildbot/slave_pack.py
index 8c7e732216f..0e5942f332e 100644
--- a/build_files/buildbot/slave_pack.py
+++ b/build_files/buildbot/slave_pack.py
@@ -136,6 +136,9 @@ if builder.find('scons') != -1:
else:
# CMake
if 'win' in builder:
+ build_dir = os.path.join('..', 'build', builder)
+ os.chdir(build_dir)
+
files = [f for f in os.listdir('.') if os.path.isfile(f) and f.endswith('.zip')]
for f in files:
os.remove(f)