aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Cully <bjc@kublai.com>2012-02-09 14:52:30 -0500
committerBrian Cully <bjc@kublai.com>2012-02-09 14:53:25 -0500
commitb6d09140c407f5642984abecf213ba830c33f917 (patch)
tree134945e6f3a9f4cf824d4c482508ed2c06ca5c9f /src
parentba58faaa776b911c3ce74e49cf39a9f14bc436d1 (diff)
downloadmysqlerl-b6d09140c407f5642984abecf213ba830c33f917.tar.gz
mysqlerl-b6d09140c407f5642984abecf213ba830c33f917.zip
Put port driver in priv/bin
Diffstat (limited to 'src')
-rw-r--r--src/mysqlerl_connection.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mysqlerl_connection.erl b/src/mysqlerl_connection.erl
index aa49c7e..362b807 100644
--- a/src/mysqlerl_connection.erl
+++ b/src/mysqlerl_connection.erl
@@ -60,7 +60,7 @@ helper() ->
PrivDir when is_list(PrivDir) -> ok;
{error, bad_name} -> PrivDir = filename:join(["..", "priv"])
end,
- filename:join([PrivDir, "mysqlerl"]).
+ filename:nativename(filename:join([PrivDir, "bin", "mysqlerl"])).
port_ref(Sup) ->
[{mysqlerl_port, Ref, worker, _}] = supervisor:which_children(Sup),