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/noweb.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/noweb.rb')
| -rw-r--r-- | Library/Formula/noweb.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/noweb.rb b/Library/Formula/noweb.rb index 2dee5d0db..783a566f3 100644 --- a/Library/Formula/noweb.rb +++ b/Library/Formula/noweb.rb @@ -1,15 +1,15 @@ require 'formula' class Noweb < Formula + homepage 'http://www.cs.tufts.edu/~nr/noweb/' url 'ftp://www.eecs.harvard.edu/pub/nr/noweb.tgz' version '2.11b' - homepage 'http://www.cs.tufts.edu/~nr/noweb/' md5 '1df580723497b2f2efde07646abf764c' depends_on 'icon' def install - Dir.chdir "src" do + cd "src" do system "bash", "awkname", "awk" system "make LIBSRC=icon ICONC=icont CFLAGS='-U_POSIX_C_SOURCE -D_POSIX_C_SOURCE=1'" |
