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)