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/tofrodos.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/tofrodos.rb')
| -rw-r--r-- | Library/Formula/tofrodos.rb | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/Library/Formula/tofrodos.rb b/Library/Formula/tofrodos.rb index 892bdbcfd..88837139c 100644 --- a/Library/Formula/tofrodos.rb +++ b/Library/Formula/tofrodos.rb @@ -1,15 +1,16 @@ require 'formula' class Tofrodos < Formula - url 'http://tofrodos.sourceforge.net/download/tofrodos-1.7.8.tar.gz' homepage 'http://www.thefreecountry.com/tofrodos/index.shtml' + url 'http://tofrodos.sourceforge.net/download/tofrodos-1.7.8.tar.gz' md5 'aaa044f9817a048e126d9eb7a7535e96' def install - Dir.chdir 'src' - system "make" - bin.install %w[todos fromdos] - man1.install "fromdos.1" - ln_s man1+'fromdos.1', man1+'todos.1' + cd 'src' do + system "make" + bin.install %w[todos fromdos] + man1.install "fromdos.1" + ln_s man1+'fromdos.1', man1+'todos.1' + end end end |
