From 1c898dee704ec1c8d76da288471f95bbd68c36b8 Mon Sep 17 00:00:00 2001 From: ruki Date: Thu, 29 Jun 2017 11:41:31 +0800 Subject: fix import cache key --- xmake/core/sandbox/modules/import.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xmake/core/sandbox/modules/import.lua b/xmake/core/sandbox/modules/import.lua index 09b3cb299..c72013582 100644 --- a/xmake/core/sandbox/modules/import.lua +++ b/xmake/core/sandbox/modules/import.lua @@ -133,10 +133,10 @@ function sandbox_import._find(dir, name) -- the single module? if os.isfile(key .. ".lua") then - return key + return path.absolute(key) -- modules? elseif os.isdir(key) then - return key + return path.absolute(key) end end -- cgit v1.3.1