summaryrefslogtreecommitdiff
path: root/xmake/actions/config/config_h.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/actions/config/config_h.lua')
-rwxr-xr-xxmake/actions/config/config_h.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/actions/config/config_h.lua b/xmake/actions/config/config_h.lua
index acd94eeb2..cdd18c5dc 100755
--- a/xmake/actions/config/config_h.lua
+++ b/xmake/actions/config/config_h.lua
@@ -125,7 +125,7 @@ function make()
local targetname = option.get("target")
-- enter project directory
- os.cd("$(projectdir)")
+ os.cd(project.directory())
-- init files
local files = {}