From fda76758ef81680d1d46ef29e0fe75544e80f596 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Wed, 16 Apr 2014 23:10:10 -0500 Subject: ace: use make -C --- Library/Formula/ace.rb | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/ace.rb b/Library/Formula/ace.rb index bf724fdbb..d5403c5ce 100644 --- a/Library/Formula/ace.rb +++ b/Library/Formula/ace.rb @@ -22,16 +22,14 @@ class Ace < Formula ENV['DYLD_LIBRARY_PATH'] = "#{buildpath}/ace:#{buildpath}/lib" # Done! We go ahead and build. - cd "ace" do - system "make", "-f", "GNUmakefile.ACE", - "INSTALL_PREFIX=#{prefix}", - "LDFLAGS=", - "DESTDIR=", - "INST_DIR=/ace", - "debug=0", - "shared_libs=1", - "static_libs=0", - "install" - end + system "make", "-C", "ace", "-f", "GNUmakefile.ACE", + "INSTALL_PREFIX=#{prefix}", + "LDFLAGS=", + "DESTDIR=", + "INST_DIR=/ace", + "debug=0", + "shared_libs=1", + "static_libs=0", + "install" end end -- cgit v1.2.3