diff options
| author | Adam Vandenberg | 2011-04-04 10:33:26 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2011-04-04 10:33:26 -0700 |
| commit | 32a5b29dca09072d85a527d644324ea1cf5ab954 (patch) | |
| tree | d38eb022cf2633bb7b3bcb5a4c87942278919f59 /Library/Formula | |
| parent | ff7ae0cc1c1b10955ecc82eb0d508b3be5183110 (diff) | |
| download | homebrew-32a5b29dca09072d85a527d644324ea1cf5ab954.tar.bz2 | |
mysql: fix typo; use var instead of hardcoding /usr/local
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 69cd3c85c..98f80013d 100644 --- a/Library/Formula/mysql.rb +++ b/Library/Formula/mysql.rb @@ -43,7 +43,7 @@ class Mysql < Formula # Build the embedded server args << "-DWITH_EMBEDDED_SERVER=ON" if ARGV.include? '--with-embedded' - # Make universal for bindings to universal applications + # Make universal for binding to universal applications args << "-DCMAKE_OSX_ARCHITECTURES='ppc;i386'" if ARGV.include? '--universal' # Build with local infile loading support @@ -66,7 +66,7 @@ class Mysql < Formula def caveats; <<-EOS.undent Set up databases to run AS YOUR USER ACCOUNT with: $ unset TMPDIR - $ mysql_install_db --verbose --user=`whoami` --basedir="$(brew --prefix mysql)" --datadir=/usr/local/var/mysql --tmpdir=/tmp + $ mysql_install_db --verbose --user=`whoami` --basedir="$(brew --prefix mysql)" --datadir=#{var}/mysql --tmpdir=/tmp To set up base tables in another folder, or use a differnet user to run mysqld, view the help for mysqld_install_db: |
