diff --git a/deps/drassil/mysql-tools/bin/dump-parser-mac b/deps/drassil/mysql-tools/bin/dump-parser-mac new file mode 100755 index 000000000..a8f4a7bb5 Binary files /dev/null and b/deps/drassil/mysql-tools/bin/dump-parser-mac differ diff --git a/deps/drassil/mysql-tools/shared-def b/deps/drassil/mysql-tools/shared-def index 6742fcf3b..cc06d15c7 100644 --- a/deps/drassil/mysql-tools/shared-def +++ b/deps/drassil/mysql-tools/shared-def @@ -8,6 +8,10 @@ MYSQLIMPORT="mysqlimport" MYSQLDUMP="mysqldump" DUMPPARSER=$MT_DIR"/bin/dump-parser" +if [[ $(uname -s) == "Darwin" ]]; then + DUMPPARSER=$MT_DIR"/bin/dump-parser-mac" +fi; + #empty for bash commands WIN_BIN=0 command -v mysql >/dev/null 2>&1 || { WIN_BIN=1; } @@ -15,7 +19,7 @@ command -v mysqlimport >/dev/null 2>&1 || { WIN_BIN=1; } command -v mysqldump >/dev/null 2>&1 || { WIN_BIN=1; } WIN_BIN=1 -if [ `uname -s` == "Linux" ]; then +if [[ $(uname -s) == "Linux") ]] || [[ $(uname -s) == "Darwin" ]]; then WIN_BIN=0 else WIN_BIN=1