summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2022-02-28 16:11:05 +0800
committerGitHub <[email protected]>2022-02-28 16:11:05 +0800
commit607a17079782c58d28011c535268410e0c6bbc4b (patch)
treea93154180c7788d327390255a2a12b9c91bd3b91
parent3344f1796a8f5aade72c10047fe49cc970057d57 (diff)
Update fetch.lua
-rw-r--r--xmake/modules/private/xrepo/action/fetch.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/private/xrepo/action/fetch.lua b/xmake/modules/private/xrepo/action/fetch.lua
index 5ae4353c4..a1f5b0817 100644
--- a/xmake/modules/private/xrepo/action/fetch.lua
+++ b/xmake/modules/private/xrepo/action/fetch.lua
@@ -118,7 +118,7 @@ function _fetch_packages(packages)
end
if packagefile then
assert(os.isfile("xmake.lua"), "xmake.lua not found!")
- io.writefile("xmake.lua", ('includes("%s")\ntarget("test", {kind = "phony"})'):format((packagefile:gsub("\\", "/")))
+ io.writefile("xmake.lua", ('includes("%s")\ntarget("test", {kind = "phony"})'):format((packagefile:gsub("\\", "/"))))
end
-- do configure first