# HG changeset patch # User Vadim Misbakh-Soloviov # Date 1371199415 -25200 # Node ID bcf895ed1b6569cc4b98244362a83e117a7ff493 # Parent 5aaddafe0beb8602590a182a62a03d7f249e5358 additional fix for erlparse loading in ejabberd2prosody.lua diff -r 5aaddafe0beb -r bcf895ed1b65 tools/ejabberd2prosody.lua --- 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