Buildbot: attempt to solve packing on windows
authorSergey Sharybin <sergey.vfx@gmail.com>
Thu, 3 Dec 2015 11:48:14 +0000 (16:48 +0500)
committerSergey Sharybin <sergey.vfx@gmail.com>
Thu, 3 Dec 2015 11:48:14 +0000 (16:48 +0500)
build_files/buildbot/slave_pack.py

index d001b251937cc84b42ae95b5bc02f9198e6dc457..6005b42fd827735702c32937254b850069676c6c 100644 (file)
@@ -165,7 +165,7 @@ else:
         os.rename(result_file, "{}.zip".format(builderified_name))
         # create zip file
         try:
         os.rename(result_file, "{}.zip".format(builderified_name))
         # create zip file
         try:
-            upload_zip = "../install/buildbot_upload.zip"
+            upload_zip = os.path.join("..", "install", "buildbot_upload.zip")
             if os.path.exists(upload_zip):
                 os.remove(upload_zip)
             z = zipfile.ZipFile(upload_zip, "w", compression=zipfile.ZIP_STORED)
             if os.path.exists(upload_zip):
                 os.remove(upload_zip)
             z = zipfile.ZipFile(upload_zip, "w", compression=zipfile.ZIP_STORED)