aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/memcached-php.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2012-02-20 22:04:21 -0800
committerAdam Vandenberg2012-02-24 21:35:50 -0800
commitd3f35542992c4978525b1eaaa0255c92f1e830e0 (patch)
tree499df60efe14b16e641247313cdd07416af1290a /Library/Formula/memcached-php.rb
parent9c77e1cefce38f2a3001ce398ad0b4dc2f668243 (diff)
downloadhomebrew-d3f35542992c4978525b1eaaa0255c92f1e830e0.tar.bz2
Use "cd" instead of "Dir.chdir"
* And "mkdir" isntead of "Dir.mkdir" * And "Dir[]" instead of "Dir.glob" * Also style fixes and nitpicks
Diffstat (limited to 'Library/Formula/memcached-php.rb')
-rw-r--r--Library/Formula/memcached-php.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/memcached-php.rb b/Library/Formula/memcached-php.rb
index 9ed8edee8..5354e24cb 100644
--- a/Library/Formula/memcached-php.rb
+++ b/Library/Formula/memcached-php.rb
@@ -1,14 +1,14 @@
require 'formula'
class MemcachedPhp < Formula
- url 'http://pecl.php.net/get/memcached-1.0.2.tgz'
homepage 'http://pecl.php.net/package/memcached'
+ url 'http://pecl.php.net/get/memcached-1.0.2.tgz'
md5 'b91f815ad59086d0c3564cce022b5c4f'
depends_on 'libmemcached'
def install
- Dir.chdir "memcached-#{version}" do
+ cd "memcached-#{version}" do
system "phpize"
system "./configure", "--prefix=#{prefix}",
"--with-libmemcached-dir=#{Formula.factory('libmemcached').prefix}"