You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by sh...@apache.org on 2012/04/04 21:57:00 UTC

ios commit: Fixed CB-441 - make fails if PackageMaker.app installed at a path with spaces in a folder name.

Updated Branches:
  refs/heads/master b50297769 -> 163084571


Fixed CB-441 - make fails if PackageMaker.app installed at a path with spaces in a folder name.


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/commit/16308457
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/tree/16308457
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/diff/16308457

Branch: refs/heads/master
Commit: 16308457163ea15c974b56c0405312bf2d8ffda8
Parents: b502977
Author: Shazron Abdullah <sh...@apache.org>
Authored: Wed Apr 4 12:56:51 2012 -0700
Committer: Shazron Abdullah <sh...@apache.org>
Committed: Wed Apr 4 12:56:51 2012 -0700

----------------------------------------------------------------------
 Makefile |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/16308457/Makefile
----------------------------------------------------------------------
diff --git a/Makefile b/Makefile
index 7de2ea9..d019613 100644
--- a/Makefile
+++ b/Makefile
@@ -192,7 +192,7 @@ installer: check-utils clean markdown wkhtmltopdf cordova-lib xcode3-template xc
 	@# build the .pkg file
 	@echo -n "Building Cordova-${CDV_VER}.pkg..."	
 	@$(MKPATH) dist/files/Guides
-	@$(PACKAGEMAKER) -d CordovaInstaller/CordovaInstaller.pmdoc -o dist/files/Cordova-${CDV_VER}.pkg > /dev/null 2> $(PKG_ERROR_LOG)
+	@'$(PACKAGEMAKER)' -d CordovaInstaller/CordovaInstaller.pmdoc -o dist/files/Cordova-${CDV_VER}.pkg > /dev/null 2> $(PKG_ERROR_LOG)
 	@# create the applescript uninstaller
 	@osacompile -o ./dist/files/Uninstall\ Cordova.app Uninstall\ Cordova.applescript > /dev/null 2>> $(PKG_ERROR_LOG)
 	@# convert the html docs to pdf, concatenate readme and license
@@ -210,7 +210,7 @@ installer: check-utils clean markdown wkhtmltopdf cordova-lib xcode3-template xc
 	@# sign the .pkg : must be run under one line to get return code
 	@-security find-certificate -c $(CERTIFICATE) > /dev/null 2>> $(PKG_ERROR_LOG); \
 	if [ $$? -eq 0 ] ; then \
-		$(PACKAGEMAKER) --certificate $(CERTIFICATE) --sign dist/files/Cordova-${CDV_VER}.pkg;  \
+		'$(PACKAGEMAKER)' --certificate $(CERTIFICATE) --sign dist/files/Cordova-${CDV_VER}.pkg;  \
 	fi
 	@# create the .dmg	
 	@hdiutil create ./dist/Cordova-${CDV_VER}_temp.dmg -srcfolder ./dist/files/ -ov -volname Cordova-${CDV_VER} -format UDRW > /dev/null 2>> $(PKG_ERROR_LOG)