From fe2fad17c7ec93ef1692beb05b32aa3dbd90e6b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francesco=20Borz=C3=AC?= Date: Thu, 28 Jan 2021 22:53:42 +0100 Subject: [PATCH] fix(Bash): db-export on macOS (#4342) --- deps/drassil/mysql-tools/bin/dump-parser-mac | Bin 0 -> 50304 bytes deps/drassil/mysql-tools/shared-def | 6 +++++- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100755 deps/drassil/mysql-tools/bin/dump-parser-mac 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 0000000000000000000000000000000000000000..a8f4a7bb53724b86a08324596eb0a7f7ec43a330 GIT binary patch literal 50304 zcmeI4U5r!5701WG67zW%N?WRuVwEf`v@AntsH-r?Tt|I8gYkRT9u5J0+ zWr;$y!E1tXjFzfYedxnB5B-Q*HBw6YC15ECcxpo`MO9m=A5v4hq7s!5+M)#ae`fAo z))(^9msHh%q%(8QnKS3k{AR{)Jm!1}HYYDZQ_p~I>?-1xXyQBTPTSN5to>rgoY)nP@A`y;LNRAXlGbNaBVha|7 zuD{MP{bGBnam-PpMlrSHxP{_?JM9YQJMyT>x5JC@ZGS-6%Qx3^n0!tuIh0H0;S1(_ z)64gDFJ5fnK3(pbU)(L^)0zEVKrr9HV`hHay?(K0mX_S;aGYZ1U^A5=Ew$7)&^k^cR*2nk1m~9;HS-I5A!5(WcW0#0WSus|ar&Oz@x|!2C;huM z8CWN5DWl$H5bh#=`6Rl!#h6q|z8yx}kJc~yCY5>=@ zL!?jE97=?+l+c~IU_QGJxrO9#*W+E7S9$m<%jW_LD^aj2<)mM#9*_F$`kU@5B(Rw_8dQH{)VA{3AH|*L&5qK)m z>-8*Lr76{GedB!Z=wCv;)*I)MxP9-1!7gj%7)C2KI4=2r*8WmR)#pftwHNJb+Xxca zRb^MAQ-%4pebo1WSv-r9=lo=pIsdZ^-?NWKQX*#5_YiD+%wX3Hj`0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!{NE{kUV0>}F z8AxXkt;Wr|U6Waox`hKyB9=dx&Y;r`n=j__=}cizy2aTZn8si%JtY3+@Fz#o1<@nW z2lpont{9zSWOGTKvRjN?(e!MFVUkN+k66V*JQb6fxwbKNik;BiLOwo>Whl4bv)r6c zxzCtG`U84JAxE{T+0JkZ6H3O5g`|^8#$>^()2^e|4acy&FU*qASxGk@%Ow-4C!QT1 zPG$;FqqEh7t7fb50;=l;1uM5tf~O#h!%C$_&HpV(1}oH#+Snh_wo>g|js1XUPi!%E zw`b?P{?D3m^4AW!*r;Jl+g}dY>45!0z>mW|*8=uW1NOOqeI;Q3 zI$*yYu>TaW{~oa0V9$lz2U!SN1X&ERAVPf!WGUoBkY$h$L$Ez+9%Mdb0YvuXzsZAP zDx#cwoFNBi=+0pg%RfVoK3KS;ftw_^cE%lQxy1VRw0O+5)-H3SjVkxqX!?`4>pHa&<(JOLN!Hg5zixru@}dA*s}V05F{NRR910 literal 0 HcmV?d00001 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