runit: use version attr
This commit is contained in:
parent
238c15c29d
commit
abd5ae552e
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ class Runit < Formula
|
|||
|
||||
def install
|
||||
# Runit untars to 'admin/runit-VERSION'
|
||||
cd "runit-2.1.1" do
|
||||
cd "runit-#{version}" do
|
||||
# Per the installation doc on OS X, we need to make a couple changes.
|
||||
system "echo 'cc -Xlinker -x' >src/conf-ld"
|
||||
inreplace 'src/Makefile', / -static/, ''
|
||||
|
|
Loading…
Reference in a new issue