Permalink
Browse files

Properly chdir into the memcached-version directory when not building…

… from head. Closes #100
  • Loading branch information...
josegonzalez committed May 24, 2012
1 parent dbb3797 commit b03bf66f0cbcb1e3b3ed560e4bca1184c0618a7b
Showing with 2 additions and 0 deletions.
  1. +2 −0 Formula/memcached-php.rb
View
@@ -10,6 +10,8 @@ class MemcachedPhp < Formula
depends_on 'libmemcached'
def install
+ Dir.chdir "memcached-#{version}" unless ARGV.build_head?
+
# See https://github.com/mxcl/homebrew/pull/5947
ENV.universal_binary

0 comments on commit b03bf66

Please sign in to comment.