percona-server: fix inreplace code that fails on audit
syncs with mysql formula Signed-off-by: Jaehoon You <teslamint@gmail.com>master
parent
38a42861a1
commit
c29c63255c
|
@ -113,10 +113,9 @@ class PerconaServer < Formula
|
|||
rm_rf prefix+"data"
|
||||
|
||||
# Fix up the control script and link into bin
|
||||
inreplace "#{prefix}/support-files/mysql.server" do |s|
|
||||
s.gsub!(/^(PATH=".*)(")/, "\\1:#{HOMEBREW_PREFIX}/bin\\2")
|
||||
end
|
||||
|
||||
inreplace "#{prefix}/support-files/mysql.server",
|
||||
/^(PATH=".*)(")/,
|
||||
"\\1:#{HOMEBREW_PREFIX}/bin\\2"
|
||||
bin.install_symlink prefix/"support-files/mysql.server"
|
||||
|
||||
# Install my.cnf that binds to 127.0.0.1 by default
|
||||
|
|
Loading…
Reference in New Issue