diff options
| author | Adam Vandenberg | 2012-02-21 20:48:36 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2012-02-24 21:35:51 -0800 |
| commit | 55f3c49a9e27d88fbfecc48d982bf0f31414f9a5 (patch) | |
| tree | 0e75d93de227d87f1f83e4809fe6455ae677f090 /Library/Formula/vrpn.rb | |
| parent | d3f35542992c4978525b1eaaa0255c92f1e830e0 (diff) | |
| download | homebrew-55f3c49a9e27d88fbfecc48d982bf0f31414f9a5.tar.bz2 | |
Introduce block form of mkdir
Diffstat (limited to 'Library/Formula/vrpn.rb')
| -rw-r--r-- | Library/Formula/vrpn.rb | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/Library/Formula/vrpn.rb b/Library/Formula/vrpn.rb index 035c74c10..c19ff90ea 100644 --- a/Library/Formula/vrpn.rb +++ b/Library/Formula/vrpn.rb @@ -28,14 +28,9 @@ class Vrpn < Formula end args << ".." - mkdir "build" - cd "build" do + mkdir "build" do system "cmake", *args - - if ARGV.include? '--docs' - system "make doc" - end - + system "make doc" if ARGV.include? '--docs' system "make install" end end |
