Revision: 12249
http://sourceforge.net/p/skim-app/code/12249
Author: hofman
Date: 2021-04-05 16:44:43 +0000 (Mon, 05 Apr 2021)
Log Message:
-----------
use temp build root for temp dmg
Modified Paths:
--------------
trunk/build_skim.py
Modified: trunk/build_skim.py
===================================================================
--- trunk/build_skim.py 2021-04-05 14:45:33 UTC (rev 12248)
+++ trunk/build_skim.py 2021-04-05 16:44:43 UTC (rev 12249)
@@ -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, "Skim.dmg")
+ temp_dmg_path = os.path.join(BUILD_ROOT, "Skim.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.
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit