diff options
| author | Matthew Rudy Jacobs | 2011-05-03 15:16:50 +0800 |
|---|---|---|
| committer | Adam Vandenberg | 2011-05-03 20:41:54 -0700 |
| commit | c62b7d2d15f7f0ac2d38eef195d44e2349988be7 (patch) | |
| tree | b1ac900be7fffdfceaac92c2d97cc98e71c59264 /Library/Formula | |
| parent | 7f8594b911582456e52896bbd9a0f6e7f28c39c2 (diff) | |
| download | homebrew-c62b7d2d15f7f0ac2d38eef195d44e2349988be7.tar.bz2 | |
mysql: ensure the var/mysql exists
* Otherwise mysql will break when it tries to start
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/mysql.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/mysql.rb b/Library/Formula/mysql.rb index 37d39a04b..7a3bfd022 100644 --- a/Library/Formula/mysql.rb +++ b/Library/Formula/mysql.rb @@ -25,6 +25,9 @@ class Mysql < Formula def patches; DATA; end def install + # Make sure the var/msql directory exists + (var+"mysql").mkpath + args = [".", "-DCMAKE_INSTALL_PREFIX=#{prefix}", "-DMYSQL_DATADIR=#{var}/mysql", |
