diff options
| author | Jack Nagel | 2014-03-25 10:07:45 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-03-25 10:08:13 -0500 |
| commit | 6bf0e1cce3c4a2346d327f6e61ca4656bc95a5db (patch) | |
| tree | dd5acf5fb00b6fffacc9b05d9be48de0092ee760 /Library | |
| parent | 0cea17de5c905aacbe242388a3bde817dcbab147 (diff) | |
| download | homebrew-6bf0e1cce3c4a2346d327f6e61ca4656bc95a5db.tar.bz2 | |
mariadb: use install_symlink
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/mariadb.rb | 4 |
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 |
