From 7d71f8fb3966f8fbaf7f1b6460d2c2c58ba729ad Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Wed, 16 Apr 2014 23:25:27 -0500 Subject: tpl: use make -C --- Library/Formula/tpl.rb | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/tpl.rb b/Library/Formula/tpl.rb index 278cec893..62c5eeeec 100644 --- a/Library/Formula/tpl.rb +++ b/Library/Formula/tpl.rb @@ -19,11 +19,6 @@ class Tpl < Formula "--disable-silent-rules", "--prefix=#{prefix}" system "make", "install" - - if build.with? "tests" - cd "tests" do - system "make" - end - end + system "make", "-C", "tests" if build.with? "tests" end end -- cgit v1.2.3