Buildbot: Attempt to fix cpack target on windows

Was using wrong working directory.
This commit is contained in:
Sergey Sharybin 2015-12-02 23:30:33 +05:00
parent 62521fce48
commit 6af1cde239
1 changed files with 3 additions and 0 deletions

View File

@ -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)