diff options
| author | Jack Nagel | 2014-03-25 10:07:45 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-03-25 10:08:13 -0500 |
| commit | 79fe589a6a3c8e0b663d0e4e54a134c177f0a85e (patch) | |
| tree | 30cef05da03009794ae36decfbf7d9faf56adbf4 /Library | |
| parent | 6bf0e1cce3c4a2346d327f6e61ca4656bc95a5db (diff) | |
| download | homebrew-79fe589a6a3c8e0b663d0e4e54a134c177f0a85e.tar.bz2 | |
mysql-cluster: use install_symlink
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/mysql-cluster.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/mysql-cluster.rb b/Library/Formula/mysql-cluster.rb index 102a6faf4..749f396bd 100644 --- a/Library/Formula/mysql-cluster.rb +++ b/Library/Formula/mysql-cluster.rb @@ -100,14 +100,14 @@ class MysqlCluster < Formula rm_rf prefix+'data' # Link the setup script into bin - ln_s prefix+'scripts/mysql_install_db', bin+'mysql_install_db' + bin.install_symlink prefix/"scripts/mysql_install_db" # 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") # pidof can be replaced with pgrep from proctools on Mountain Lion s.gsub!(/pidof/, 'pgrep') if MacOS.version >= :mountain_lion end - ln_s "#{prefix}/support-files/mysql.server", bin + bin.install_symlink prefix/"support-files/mysql.server" # Move mysqlaccess to libexec libexec.mkpath |
