aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/john.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/john.rb')
-rw-r--r--Library/Formula/john.rb14
1 files changed, 7 insertions, 7 deletions
diff --git a/Library/Formula/john.rb b/Library/Formula/john.rb
index e5d797605..0000a8877 100644
--- a/Library/Formula/john.rb
+++ b/Library/Formula/john.rb
@@ -4,24 +4,24 @@ class John <Formula
url 'http://www.openwall.com/john/g/john-1.7.3.4.tar.bz2'
homepage 'http://www.openwall.com/john/'
md5 '2f2310c49961c3edea6f92b8dcd45ff4'
-
+
def patches
{ :p0 => DATA }
end
-
+
def install
ENV.deparallelize
fails_with_llvm
arch = Hardware.is_64_bit? ? '64' : 'sse2'
-
+
Dir.chdir 'src' do
system "make clean macosx-x86-#{arch}"
end
-
- FileUtils.rm 'README'
+
+ rm 'README'
# using mv over bin.install due to problem moving sym links
- FileUtils.mv 'run', bin
- FileUtils.chmod_R 0755, bin
+ mv 'run', bin
+ chmod_R 0755, bin
end
end