summaryrefslogtreecommitdiff
path: root/xmake/includes
diff options
context:
space:
mode:
authorruki <[email protected]>2024-09-08 21:39:07 +0800
committerruki <[email protected]>2024-09-08 21:39:07 +0800
commit899aefb36edd5a381645fec00e6defbec90a51b9 (patch)
treead036a87ae55951d5a7b3f42b08703183b6065c6 /xmake/includes
parentdbf5b7617da2ee5cdf03e7d325aee5c995fa2080 (diff)
rename package name
Diffstat (limited to 'xmake/includes')
-rw-r--r--xmake/includes/xrepo/xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/includes/xrepo/xmake.lua b/xmake/includes/xrepo/xmake.lua
index 8891e4f0b..7f16410da 100644
--- a/xmake/includes/xrepo/xmake.lua
+++ b/xmake/includes/xrepo/xmake.lua
@@ -61,7 +61,7 @@ end
--
function xrepo_addenv(name, ...)
local args = table.pack(...)
- local packagename = "xrepo_addenv_" .. name .. (table.concat(args):gsub("%s", "_"))
+ local packagename = "__xrepo_addenv_" .. name .. (table.concat(args):gsub("%s", "_"))
package(packagename)
on_load(function (package)
package:addenv(name, table.unpack(args))