summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-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)