From 8ba76b310ca9684a0db5f6e9ce3708d405fa0b8c Mon Sep 17 00:00:00 2001 From: Max Howell Date: Sat, 19 Dec 2009 15:36:20 +0000 Subject: Some cleanup When there are paths, we should use the comma-deliminated form of system to ensure spaces don't muck things up. Suggest the user use the HOMEBREW_PREFIX rather than the keg directory as this way upgrades won't break the configuration. --- Library/Formula/ruby-odbc.rb | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/ruby-odbc.rb b/Library/Formula/ruby-odbc.rb index 05361fbb7..a1369ea3a 100644 --- a/Library/Formula/ruby-odbc.rb +++ b/Library/Formula/ruby-odbc.rb @@ -9,7 +9,7 @@ class RubyOdbc < Formula depends_on 'freetds' def install - system "ruby extconf.rb --enable-dlopen --with-odbc-dir=#{HOMEBREW_PREFIX}/lib" + system "ruby", "extconf.rb", "--enable-dlopen", "--with-odbc-dir=#{HOMEBREW_PREFIX}/lib" # extconf.rb assumes it will install ruby-odbc within a folder in your # current ruby installation. @@ -23,16 +23,16 @@ class RubyOdbc < Formula system 'make install' end - def caveats -<