aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-05-19 12:31:05 -0500
committerJack Nagel2014-05-19 12:31:05 -0500
commit4b228811a89e52a7dcd1bafb9d78fd89ed11b619 (patch)
treebdfb9aad2c3fc8756e4bb5193dc3615a8907d39e /Library
parent496ad91cfd98673077b69cb03f44551157bf37d4 (diff)
downloadhomebrew-4b228811a89e52a7dcd1bafb9d78fd89ed11b619.tar.bz2
john: remove inreplace
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/john.rb7
1 files changed, 1 insertions, 6 deletions
diff --git a/Library/Formula/john.rb b/Library/Formula/john.rb
index cdd9680bd..4a54d5d1d 100644
--- a/Library/Formula/john.rb
+++ b/Library/Formula/john.rb
@@ -19,12 +19,7 @@ class John < Formula
arch = MacOS.prefer_64_bit? ? '64' : 'sse2'
target = "macosx-x86-#{arch}"
- cd 'src' do
- inreplace 'Makefile' do |s|
- s.change_make_var! "CC", ENV.cc
- end
- system "make", "clean", target
- end
+ system "make", "-C", "src", "clean", "CC=#{ENV.cc}", target
# Remove the README symlink and install the real file
rm 'README'