aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorSeth Falcon2009-10-10 15:26:46 -0700
committerMax Howell2009-10-12 17:24:53 +0100
commite6cfadc446d4cae1d3457cdcc4b46a422e7fc459 (patch)
tree85be53776d562e6ea73279c803400d8cf2356c2e /Library/Formula
parent427977368388306e00db43b1d99c7ffed4bde8b9 (diff)
downloadhomebrew-e6cfadc446d4cae1d3457cdcc4b46a422e7fc459.tar.bz2
Update bash-completion to version 1.1
Also fixes etc config. The call to inreplace had an incorrect path. I tried correcting it and leaving it as a post-make-install step, but it still did not work. Moving the inreplace call did the trick.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/bash-completion.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/Library/Formula/bash-completion.rb b/Library/Formula/bash-completion.rb
index e9696c3c7..190a44646 100644
--- a/Library/Formula/bash-completion.rb
+++ b/Library/Formula/bash-completion.rb
@@ -1,15 +1,16 @@
require 'brewkit'
class BashCompletion <Formula
- @url='http://bash-completion.alioth.debian.org/files/bash-completion-1.0.tar.gz'
+ @url='http://bash-completion.alioth.debian.org/files/bash-completion-1.1.tar.bz2'
@homepage='http://bash-completion.alioth.debian.org/'
- @md5='cd1c5648272917fbe0eef4ba30bb93f4'
+ @md5='1b5ed247ed904d0a2ec6a6d2c5876c52'
@head='git://git.debian.org/git/bash-completion/bash-completion.git'
def install
+ inreplace "./bash_completion", '/etc/bash_completion',
+ "#{etc}/bash_completion"
system "./configure", "--prefix=#{prefix}"
system "make install"
- inreplace etc+'bash_completion', 'etc/bash_completion', "#{etc}/bash_completion"
end
def caveats