Merged in dcourtois/premake-dev/issue_264 (pull request #157)

fixed issue #264
This commit is contained in:
Jason Perkins 2015-03-24 16:19:09 -04:00
commit c576407af5

View File

@ -82,7 +82,8 @@
os.locate(name .. ".lua")
if not p then
return "\n\tno file " .. name .. " on module paths"
-- try to load from the embedded script
p = "$/" .. full
end
local chunk, err = loadfile(p)