summaryrefslogtreecommitdiff
path: root/xmake/core/main.lua
diff options
context:
space:
mode:
authorOpportunityLiu <[email protected]>2019-07-23 19:36:36 +0800
committerOpportunityLiu <[email protected]>2019-07-23 19:36:36 +0800
commit929f1255d95d10e85803053e08bd6c5e3f595439 (patch)
treecb04a2be7c683b280fd93ff5615fd98bc6b44f82 /xmake/core/main.lua
parentd7a716d699bd36045df0e18e5ba6cc9baf7b7ce6 (diff)
use c impl
Diffstat (limited to 'xmake/core/main.lua')
-rw-r--r--xmake/core/main.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/main.lua b/xmake/core/main.lua
index fe8e7808f..4c8606184 100644
--- a/xmake/core/main.lua
+++ b/xmake/core/main.lua
@@ -125,7 +125,7 @@ function main._init()
local projectdir = opt_projectdir or xmake._PROJECT_DIR
if projectdir and not path.is_absolute(projectdir) then
projectdir = path.absolute(projectdir)
- elseif projectdir then
+ elseif projectdir then
projectdir = path.translate(projectdir)
end
xmake._PROJECT_DIR = projectdir