aboutsummaryrefslogtreecommitdiff
path: root/contrib/macdeploy
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2021-06-09 12:16:39 +0800
committerfanquake <fanquake@gmail.com>2021-06-09 12:33:39 +0800
commit0a5723beea9c909b437e8c3fa434506019c1198c (patch)
tree4b6a88ca4396aa9e0e9c710caabf1894a15bbda1 /contrib/macdeploy
parentecffe8689dfbdc33deba8119376dcc8f208f0f72 (diff)
downloadbitcoin-0a5723beea9c909b437e8c3fa434506019c1198c.tar.xz
macdeploy: cleanup .temp.dmg if present
Diffstat (limited to 'contrib/macdeploy')
-rwxr-xr-xcontrib/macdeploy/macdeployqtplus3
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/macdeploy/macdeployqtplus b/contrib/macdeploy/macdeployqtplus
index 5377a4ce1d..055a932eee 100755
--- a/contrib/macdeploy/macdeployqtplus
+++ b/contrib/macdeploy/macdeployqtplus
@@ -423,6 +423,9 @@ if os.path.exists(appname + ".dmg"):
print("+ Removing existing DMG +")
os.unlink(appname + ".dmg")
+if os.path.exists(appname + ".temp.dmg"):
+ os.unlink(appname + ".temp.dmg")
+
# ------------------------------------------------
target = os.path.join("dist", "Bitcoin-Qt.app")