summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2016-02-17 21:07:26 +0800
committerruki <[email protected]>2016-02-17 21:07:26 +0800
commit9cce844ef3d27812a176ab9c34822d0846a935d4 (patch)
tree35ce95a5db656373eb3992307e88afee8f142ed5
parente1e38b8b2cf04bfd41ded133aac6604bdde06293 (diff)
fix import bug
-rw-r--r--xmake/core/sandbox/import.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/sandbox/import.lua b/xmake/core/sandbox/import.lua
index e2011c55b..4e1dc24dc 100644
--- a/xmake/core/sandbox/import.lua
+++ b/xmake/core/sandbox/import.lua
@@ -27,7 +27,7 @@ local utils = require("base/utils")
function sandbox_builtin_import(name)
-- load module
- local module = require("sandbox/import" .. name)
+ local module = require("sandbox/import/" .. name)
if not module then
utils.error("cannot import module: %s", name)
utils.abort()