aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2012-02-24 23:47:09 -0600
committerJack Nagel2012-02-24 23:47:09 -0600
commitf2dd53ea1a1233d473603603860b5841c9c476d6 (patch)
tree977e709c32947147dc562b1539c926238e36adba /Library
parent8bf54c485cc793c4bb423dd4f5d02dcc7b67fd7a (diff)
downloadhomebrew-f2dd53ea1a1233d473603603860b5841c9c476d6.tar.bz2
fluid-synth: use block-style mkdir
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/fluid-synth.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/Library/Formula/fluid-synth.rb b/Library/Formula/fluid-synth.rb
index 6ef904bc3..f12e1f165 100644
--- a/Library/Formula/fluid-synth.rb
+++ b/Library/Formula/fluid-synth.rb
@@ -17,10 +17,10 @@ class FluidSynth < Formula
end
def install
- Dir.mkdir 'macbuild'
- Dir.chdir 'macbuild'
- system "cmake #{std_cmake_parameters} -Denable-framework=OFF -DLIB_SUFFIX= .."
- system "make install"
+ mkdir 'build' do
+ system "cmake #{std_cmake_parameters} -Denable-framework=OFF -DLIB_SUFFIX= .."
+ system "make install"
+ end
end
end