aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/scrotwm.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/scrotwm.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/scrotwm.rb')
-rw-r--r--Library/Formula/scrotwm.rb9
1 files changed, 5 insertions, 4 deletions
diff --git a/Library/Formula/scrotwm.rb b/Library/Formula/scrotwm.rb
index c1a859e2c..064a5fac6 100644
--- a/Library/Formula/scrotwm.rb
+++ b/Library/Formula/scrotwm.rb
@@ -1,8 +1,8 @@
require 'formula'
class Scrotwm < Formula
- url 'http://opensource.conformal.com/snapshots/scrotwm/scrotwm-0.9.30.tgz'
homepage 'http://opensource.conformal.com/wiki/scrotwm'
+ url 'http://opensource.conformal.com/snapshots/scrotwm/scrotwm-0.9.30.tgz'
md5 '008d018a0ab546b4915e5aa7199f8982'
def patches
@@ -10,9 +10,10 @@ class Scrotwm < Formula
end
def install
- Dir.chdir "osx"
- system "make"
- system "make", "install", "PREFIX=#{prefix}"
+ cd "osx" do
+ system "make"
+ system "make", "install", "PREFIX=#{prefix}"
+ end
end
def caveats; <<-EOS