summaryrefslogtreecommitdiff
path: root/core/xpack.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2025-12-27 20:41:50 +0800
committerruki <[email protected]>2025-12-27 20:42:33 +0800
commit0f90b217b3e6351e1e9d2f4145beafbd28553ee2 (patch)
tree37ce71a3f86d4e6f6e8822e2b85ff4a195d1cac2 /core/xpack.lua
parent7ee27a5e5a58b4d8a51ec0d2c0fc153239cb6722 (diff)
parallel packpack
Diffstat (limited to 'core/xpack.lua')
-rw-r--r--core/xpack.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/xpack.lua b/core/xpack.lua
index f33ba2994..9f1721e5a 100644
--- a/core/xpack.lua
+++ b/core/xpack.lua
@@ -97,7 +97,7 @@ xpack("xmakesrc")
before_package(function (package)
import("devel.git")
- local rootdir = path.join(os.tmpfile(package:basename()) .. ".dir", "repo")
+ local rootdir = path.join(os.tmpfile(package:basename() .. "_" .. package:format()) .. ".dir", "repo")
if not os.isdir(rootdir) then
os.tryrm(rootdir)
os.cp(path.directory(os.projectdir()), rootdir)