diff options
| author | Jack Nagel | 2014-03-25 10:07:45 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-03-25 10:08:13 -0500 |
| commit | 34ad88ddf140837dad474399a14a5c61b0ea68da (patch) | |
| tree | ddd53796aec8924ed793f8a9f4c65e51ca99ec00 /Library/Formula | |
| parent | 79fe589a6a3c8e0b663d0e4e54a134c177f0a85e (diff) | |
| download | homebrew-34ad88ddf140837dad474399a14a5c61b0ea68da.tar.bz2 | |
mysql: use install_symlink
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/mysql.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/mysql.rb b/Library/Formula/mysql.rb index f9c9fad3d..5567b77f0 100644 --- a/Library/Formula/mysql.rb +++ b/Library/Formula/mysql.rb @@ -103,7 +103,7 @@ class Mysql < 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| @@ -112,7 +112,7 @@ class Mysql < Formula 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 |
