summaryrefslogtreecommitdiff
path: root/xmake/modules/cli
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/modules/cli')
-rw-r--r--xmake/modules/cli/amalgamate.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/cli/amalgamate.lua b/xmake/modules/cli/amalgamate.lua
index 72c7e8f2f..b76f60b6e 100644
--- a/xmake/modules/cli/amalgamate.lua
+++ b/xmake/modules/cli/amalgamate.lua
@@ -89,7 +89,7 @@ function _generate_file(target, inputpaths, outputpath, uniqueid)
-- generate include graph
local gh = graph.new(true)
for idx, inputpath in ipairs(inputpaths) do
- inputpath = path.normalize(path.absolute(inputpath, os.projectdir()))
+ local inputpath = path.normalize(path.absolute(inputpath, os.projectdir()))
inputpaths[idx] = inputpath
gh:add_edge("__root__", inputpath)
end