summaryrefslogtreecommitdiff
path: root/xmake/core
diff options
context:
space:
mode:
authorruki <[email protected]>2018-04-28 21:36:34 +0800
committerruki <[email protected]>2018-04-28 21:36:34 +0800
commitd94f0728facb33a2cddebb19b8a9c953f6cdde06 (patch)
treeb265f55d1c9ed98342c80ab750aeb4e07e8a05fe /xmake/core
parent4277a46cfdc23dc8d840400048eda256d8e5d1e9 (diff)
impl load umdf rule
Diffstat (limited to 'xmake/core')
-rw-r--r--xmake/core/sandbox/modules/import/lib/detect/find_path.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/sandbox/modules/import/lib/detect/find_path.lua b/xmake/core/sandbox/modules/import/lib/detect/find_path.lua
index 10f844752..0532a1bf8 100644
--- a/xmake/core/sandbox/modules/import/lib/detect/find_path.lua
+++ b/xmake/core/sandbox/modules/import/lib/detect/find_path.lua
@@ -37,7 +37,7 @@ function sandbox_lib_detect_find_path._find(filedir, name)
-- path exists?
for _, p in ipairs(os.filedirs(path.join(filedir, name))) do
- return filedir
+ return path.directory(p)
end
end