aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2012-02-12 14:40:05 -0800
committerAdam Vandenberg2012-02-12 20:08:59 -0800
commit2ef78ed978547edad58ce42c0bbf42a9fde3c528 (patch)
tree3e5fc9d510d622b878fe4a864fe96e586fe9fda5 /Library/Formula
parent4c7bb2c3b66b66146bc7465e96a7343da89f2f71 (diff)
downloadhomebrew-2ef78ed978547edad58ce42c0bbf42a9fde3c528.tar.bz2
mariadb: use install_symlink
Diffstat (limited to 'Library/Formula')
-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 b40c56a11..85833c55d 100644
--- a/Library/Formula/mariadb.rb
+++ b/Library/Formula/mariadb.rb
@@ -59,8 +59,8 @@ class Mariadb < Formula
system "./configure", *configure_args
system "make install"
- ln_s "#{libexec}/mysqld", bin
- ln_s "#{share}/mysql/mysql.server", bin
+ bin.install_symlink "#{libexec}/mysqld"
+ bin.install_symlink "#{share}/mysql/mysql.server"
(prefix+'mysql-test').rmtree unless ARGV.include? '--with-tests' # save 121MB!
(prefix+'sql-bench').rmtree unless ARGV.include? '--with-bench'