Revision: 25698 http://sourceforge.net/p/bibdesk/svn/25698 Author: hofman Date: 2021-04-05 16:45:26 +0000 (Mon, 05 Apr 2021) Log Message: ----------- use temp build root for temp dmg
Modified Paths: -------------- trunk/bibdesk/build_release.py Modified: trunk/bibdesk/build_release.py =================================================================== --- trunk/bibdesk/build_release.py 2021-04-05 14:58:19 UTC (rev 25697) +++ trunk/bibdesk/build_release.py 2021-04-05 16:45:26 UTC (rev 25698) @@ -187,7 +187,7 @@ # of date, since I sometimes want to upload multiple betas per day. final_dmg_name = os.path.join(BUILD_DIR, os.path.splitext(os.path.basename(BUILT_APP))[0] + "-" + new_version_number + ".dmg") - temp_dmg_path = os.path.join(BUILD_DIR, "BibDesk.dmg") + temp_dmg_path = os.path.join(BUILD_ROOT, "BibDesk.dmg") # remove temp image from a previous run if os.path.exists(temp_dmg_path): os.unlink(temp_dmg_path) @@ -218,7 +218,7 @@ # when trying to unpack the resource fork/EA nullDevice = open("/dev/null", "w") - cmd = ["/usr/bin/unzip", "-uo", zip_dmg_name, "-d", "/tmp"] + cmd = ["/usr/bin/unzip", "-uo", zip_dmg_name, "-d", BUILD_ROOT] x = Popen(cmd, stdout=nullDevice, stderr=nullDevice) rc = x.wait() assert rc == 0, "failed to unzip %s" % (zip_dmg_name) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ Bibdesk-commit mailing list Bibdesk-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bibdesk-commit