summaryrefslogtreecommitdiff
path: root/homebrew/mysqlat57/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/mysqlat57/.make.sh-auto')
-rw-r--r--homebrew/mysqlat57/.make.sh-auto5
1 files changed, 5 insertions, 0 deletions
diff --git a/homebrew/mysqlat57/.make.sh-auto b/homebrew/mysqlat57/.make.sh-auto
new file mode 100644
index 000000000..b2e36ddc5
--- /dev/null
+++ b/homebrew/mysqlat57/.make.sh-auto
@@ -0,0 +1,5 @@
+pkg:setup
+datadir.mkpath
+unless (datadir/"mysql/general_log.CSM").exist?
+ENV["TMPDIR"] = nil
+bin/"mysqld" --initialize-insecure --user=#{ENV[USER"]}" --basedir=${PKG_TAPF} --datadir=#{datadir} --tmpdir=/tmp