From b6d09140c407f5642984abecf213ba830c33f917 Mon Sep 17 00:00:00 2001 From: Brian Cully Date: Thu, 9 Feb 2012 14:52:30 -0500 Subject: Put port driver in priv/bin --- src/mysqlerl_connection.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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), -- cgit v1.3