Buildbot: use relative path for redistributable dlls on windows.

This commit is contained in:
Brecht Van Lommel 2013-06-15 14:01:12 +00:00
parent bac418b691
commit 344ffb99ae
1 changed files with 2 additions and 2 deletions

View File

@ -158,9 +158,9 @@ else:
if builder.find('win') != -1:
dlls = ('msvcm90.dll', 'msvcp90.dll', 'msvcr90.dll', 'vcomp90.dll', 'Microsoft.VC90.CRT.manifest', 'Microsoft.VC90.OpenMP.manifest')
if builder.find('win64') == -1:
dlls_path = 'C:\\b\\redist\\x86'
dlls_path = '..\\..\\..\\redist\\x86'
else:
dlls_path = 'C:\\b\\redist\\amd64'
dlls_path = '..\\..\\..\\redist\\amd64'
for dll in dlls:
shutil.copyfile(os.path.join(dlls_path, dll), os.path.join(install_dir, dll))