summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-09-09 10:35:51 +0300
committerAndras Timar <andras.timar@collabora.com>2016-03-04 11:28:46 +0100
commitca3e8b0299b3a3f6e8029a47cb7391512c49ac4a (patch)
tree096958704023c31a7b20a132afcf56a1f79ee373 /Makefile.in
parent8c25e92bb9c289598fc8c83d712d67c5539cd21b (diff)
Remove potential old leftover before moving the app bundle
Change-Id: I7f0a8ae184a2f3d8a4476415b56df4ad8e4e342f (cherry picked from commit 53c396c7008b807cffcc501171520b28c3f2ad24)
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index 7ff9cb56a0cd..8e84f4682517 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -337,6 +337,7 @@ endif
mac-app-store-package: test-install
ifneq ($(MACOSX_PACKAGE_SIGNING_IDENTITY),)
+ rm -rf "$(MACOSX_APP_NAME).app"
mv "$(TESTINSTALLDIR)/$(PRODUCTNAME).app" "$(MACOSX_APP_NAME).app"
productbuild --component "$(MACOSX_APP_NAME).app" /Applications --sign $(MACOSX_PACKAGE_SIGNING_IDENTITY) $(shell echo "$(MACOSX_APP_NAME)" | tr ' ' '-').pkg
else