ack: use version attribute
This commit is contained in:
parent
c2a5a33c7f
commit
530cb57cf2
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ class Ack < Formula
|
|||
version '2.12'
|
||||
|
||||
def install
|
||||
bin.install "ack-2.12-single-file" => "ack"
|
||||
bin.install "ack-#{version}-single-file" => "ack"
|
||||
system "pod2man", "#{bin}/ack", "ack.1"
|
||||
man1.install "ack.1"
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue