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/05/25 02:36:30 UTC

ios commit: Updated Makefile after testing on a system that didn't have homebrew installed.

Updated Branches:
  refs/heads/master c9b3345a7 -> 50d2be0bb


Updated Makefile after testing on a system that didn't have homebrew installed.


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/50d2be0b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/tree/50d2be0b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/diff/50d2be0b

Branch: refs/heads/master
Commit: 50d2be0bbeb712adbfd935d8d405329d569f22c5
Parents: c9b3345
Author: Shazron Abdullah <sh...@apache.org>
Authored: Thu May 24 17:36:23 2012 -0700
Committer: Shazron Abdullah <sh...@apache.org>
Committed: Thu May 24 17:36:23 2012 -0700

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


http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/50d2be0b/Makefile
----------------------------------------------------------------------
diff --git a/Makefile b/Makefile
index 10ca21d..214f430 100644
--- a/Makefile
+++ b/Makefile
@@ -268,6 +268,7 @@ check-brew:
 
 install-brew:
 	@/usr/bin/curl -fsSL https://raw.github.com/mxcl/homebrew/master/Library/Contributions/install_homebrew.rb | /usr/bin/ruby
+	@/usr/local/bin/brew update
 
 check-wkhtmltopdf: check-brew
 	@if [[ ! -e `which wkhtmltopdf` ]]; then \
@@ -276,7 +277,7 @@ check-wkhtmltopdf: check-brew
 
 install-wkhtmltopdf: check-brew
 	@# note: only version 0.9.9 should be used, 0.11.0_rc1 has a perf issue
-	@cd `brew --cellar`; git checkout 6e2d550 /usr/local/Library/Formula/wkhtmltopdf.rb
+	@cd /usr/local; git checkout 6e2d550 /usr/local/Library/Formula/wkhtmltopdf.rb
 	@brew install wkhtmltopdf
 
 check-markdown: check-brew