aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-03-25 10:07:45 -0500
committerJack Nagel2014-03-25 10:08:13 -0500
commit6bf0e1cce3c4a2346d327f6e61ca4656bc95a5db (patch)
treedd5acf5fb00b6fffacc9b05d9be48de0092ee760 /Library
parent0cea17de5c905aacbe242388a3bde817dcbab147 (diff)
downloadhomebrew-6bf0e1cce3c4a2346d327f6e61ca4656bc95a5db.tar.bz2
mariadb: use install_symlink
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/mariadb.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/mariadb.rb b/Library/Formula/mariadb.rb
index c1e824541..e9ec8e0d3 100644
--- a/Library/Formula/mariadb.rb
+++ b/Library/Formula/mariadb.rb
@@ -108,7 +108,7 @@ class Mariadb < Formula
(prefix+'sql-bench').rmtree if build.without? 'bench'
# 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|
@@ -117,7 +117,7 @@ class Mariadb < 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"
end
end