summaryrefslogtreecommitdiffstats
path: root/toolkit/mozapps/installer/upload-files.mk
diff options
context:
space:
mode:
authoradeshkp <adeshkp@users.noreply.github.com>2019-07-18 11:21:40 -0400
committeradeshkp <adeshkp@users.noreply.github.com>2019-07-18 11:21:40 -0400
commit4e464892a2b547a6a0ed30d47d2de39d30a4d32a (patch)
treea026d38b33b1ca03b27c0a3515081ad9f2305042 /toolkit/mozapps/installer/upload-files.mk
parentc4d192b49246ed72e2b857452b557ef1bef83c58 (diff)
downloadUXP-4e464892a2b547a6a0ed30d47d2de39d30a4d32a.tar
UXP-4e464892a2b547a6a0ed30d47d2de39d30a4d32a.tar.gz
UXP-4e464892a2b547a6a0ed30d47d2de39d30a4d32a.tar.lz
UXP-4e464892a2b547a6a0ed30d47d2de39d30a4d32a.tar.xz
UXP-4e464892a2b547a6a0ed30d47d2de39d30a4d32a.zip
Issue #701 - Support spaces in Mac app name
Diffstat (limited to 'toolkit/mozapps/installer/upload-files.mk')
-rw-r--r--toolkit/mozapps/installer/upload-files.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/toolkit/mozapps/installer/upload-files.mk b/toolkit/mozapps/installer/upload-files.mk
index 25103ff37..40af34a59 100644
--- a/toolkit/mozapps/installer/upload-files.mk
+++ b/toolkit/mozapps/installer/upload-files.mk
@@ -286,18 +286,18 @@ endif
ifdef MOZ_SIGN_PREPARED_PACKAGE_CMD
ifeq (Darwin, $(OS_ARCH))
MAKE_PACKAGE = $(or $(call MAKE_SIGN_EME_VOUCHER,$(STAGEPATH)$(MOZ_PKG_DIR)$(_BINPATH)/$(MOZ_CHILD_PROCESS_NAME).app/Contents/MacOS,$(STAGEPATH)$(MOZ_PKG_DIR)$(_RESPATH)),true) \
- && (cd $(STAGEPATH)$(MOZ_PKG_DIR)$(_RESPATH) && $(CREATE_PRECOMPLETE_CMD)) \
- && cd ./$(PKG_DMG_SOURCE) && $(MOZ_SIGN_PREPARED_PACKAGE_CMD) $(MOZ_MACBUNDLE_NAME) \
+ && (cd '$(STAGEPATH)$(MOZ_PKG_DIR)$(_RESPATH)' && $(CREATE_PRECOMPLETE_CMD)) \
+ && cd ./$(PKG_DMG_SOURCE) && $(MOZ_SIGN_PREPARED_PACKAGE_CMD) '$(MOZ_MACBUNDLE_NAME)' \
&& cd $(PACKAGE_BASE_DIR) && $(INNER_MAKE_PACKAGE)
else
MAKE_PACKAGE = $(MOZ_SIGN_PREPARED_PACKAGE_CMD) $(MOZ_PKG_DIR) \
&& $(or $(call MAKE_SIGN_EME_VOUCHER,$(STAGEPATH)$(MOZ_PKG_DIR)),true) \
- && (cd $(STAGEPATH)$(MOZ_PKG_DIR)$(_RESPATH) && $(CREATE_PRECOMPLETE_CMD)) \
+ && (cd '$(STAGEPATH)$(MOZ_PKG_DIR)$(_RESPATH)' && $(CREATE_PRECOMPLETE_CMD)) \
&& $(INNER_MAKE_PACKAGE)
endif #Darwin
else
- MAKE_PACKAGE = (cd $(STAGEPATH)$(MOZ_PKG_DIR)$(_RESPATH) && $(CREATE_PRECOMPLETE_CMD)) && $(INNER_MAKE_PACKAGE)
+ MAKE_PACKAGE = (cd '$(STAGEPATH)$(MOZ_PKG_DIR)$(_RESPATH)' && $(CREATE_PRECOMPLETE_CMD)) && $(INNER_MAKE_PACKAGE)
endif
ifdef MOZ_SIGN_PACKAGE_CMD