aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/tpl.rb7
1 files changed, 1 insertions, 6 deletions
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