Software /
code /
prosody
Changeset
5697:956df0f1cb70
additional fix for erlparse loading in ejabberd2prosody.lua
author | Vadim Misbakh-Soloviov <mva@mva.name> |
---|---|
date | Fri, 14 Jun 2013 15:43:35 +0700 |
parents | 5696:9fba74a28e0c |
children | 5698:4a244d10a3ca |
files | tools/ejabberd2prosody.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tools/ejabberd2prosody.lua Fri Jun 14 15:15:05 2013 +0700 +++ b/tools/ejabberd2prosody.lua Fri Jun 14 15:43:35 2013 +0700 @@ -14,6 +14,7 @@ local my_name = arg[0]; if my_name:match("[/\\]") then package.path = package.path..";"..my_name:gsub("[^/\\]+$", "../?.lua"); + package.path = package.path..";"..my_name:gsub("[^/\\]+$", "?.lua"); package.cpath = package.cpath..";"..my_name:gsub("[^/\\]+$", "../?.so"); end