mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Fix grc
Pathname objects become root if you operator+ them with absolute paths
This commit is contained in:
parent
35f2dd3532
commit
26e2ee1cf8
@ -40,8 +40,8 @@ md5='eeb612aba2fff14cbaf1f3bec7e1eb60'
|
|||||||
Formula.new(url, md5).brew do |prefix|
|
Formula.new(url, md5).brew do |prefix|
|
||||||
ohai "make"
|
ohai "make"
|
||||||
#TODO we should deprefixify since it's python and thus possible
|
#TODO we should deprefixify since it's python and thus possible
|
||||||
inreplace 'grc', '/etc', prefix+'/etc'
|
inreplace 'grc', '/etc', prefix+'etc'
|
||||||
inreplace 'grc.1', '/etc', prefix+'/etc'
|
inreplace 'grc.1', '/etc', prefix+'etc'
|
||||||
inreplace 'grcat', '/usr/local', prefix
|
inreplace 'grcat', '/usr/local', prefix
|
||||||
inreplace 'grcat.1', '/usr/local', prefix
|
inreplace 'grcat.1', '/usr/local', prefix
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user