aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/ack.rb
diff options
context:
space:
mode:
authorMax Howell2009-09-28 16:22:07 +0100
committerMax Howell2009-09-29 15:46:34 +0100
commit25fb9e496e911657ed8194a88ac1bac306fcbd6c (patch)
tree5ff76ea1b50ca4f7d0a2ddc8a67bf8dace203665 /Library/Formula/ack.rb
parent4824df854c312eaaee1e59b0d88cdb5edc9b6075 (diff)
downloadhomebrew-25fb9e496e911657ed8194a88ac1bac306fcbd6c.tar.bz2
Fix ack download location
This should be more reliable, still, he could rebase!
Diffstat (limited to 'Library/Formula/ack.rb')
-rw-r--r--Library/Formula/ack.rb13
1 files changed, 4 insertions, 9 deletions
diff --git a/Library/Formula/ack.rb b/Library/Formula/ack.rb
index 03c7062e7..eb0e7eea1 100644
--- a/Library/Formula/ack.rb
+++ b/Library/Formula/ack.rb
@@ -4,13 +4,8 @@ class Ack <ScriptFileFormula
# NOTE you don't need to specify the version, usually it is determined
# automatically by examination of the URL, however in this case our auto
# determination magic is inadequete
- @version='1.90'
- @url="http://github.com/petdance/ack/raw/#{@version}/ack"
- @md5='d15d059166beff6103d2401aa2d783c7'
- @homepage='http://betterthangrep.com/'
-
- # because our url looks like a svn one Homebrew defaults to the svn strategy
- def download_strategy
- HttpDownloadStrategy
- end
+ version '1.90'
+ url "http://github.com/petdance/ack/raw/c03b98d10d44a6eca4218c5a729b07b43d12c8d1/ack"
+ md5 'd15d059166beff6103d2401aa2d783c7'
+ homepage 'http://betterthangrep.com/'
end