diff options
| author | Adam Vandenberg | 2012-02-20 22:04:21 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2012-02-24 21:35:50 -0800 |
| commit | d3f35542992c4978525b1eaaa0255c92f1e830e0 (patch) | |
| tree | 499df60efe14b16e641247313cdd07416af1290a /Library/Formula/physfs.rb | |
| parent | 9c77e1cefce38f2a3001ce398ad0b4dc2f668243 (diff) | |
| download | homebrew-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/physfs.rb')
| -rw-r--r-- | Library/Formula/physfs.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/physfs.rb b/Library/Formula/physfs.rb index 189cb4726..1cbec98e0 100644 --- a/Library/Formula/physfs.rb +++ b/Library/Formula/physfs.rb @@ -1,15 +1,15 @@ require 'formula' class Physfs < Formula - url 'http://icculus.org/physfs/downloads/physfs-2.0.2.tar.gz' homepage 'http://icculus.org/physfs/' + url 'http://icculus.org/physfs/downloads/physfs-2.0.2.tar.gz' md5 '4e8927c3d30279b03e2592106eb9184a' depends_on 'cmake' => :build def install mkdir 'macbuild' - Dir.chdir 'macbuild' do + cd 'macbuild' do system "cmake #{std_cmake_parameters} -DPHYSFS_BUILD_WX_TEST=FALSE -DPHYSFS_BUILD_TEST=TRUE .." system "make" system "make install" |
