summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChen Yufei <[email protected]>2022-03-15 08:04:55 +0800
committerChen Yufei <[email protected]>2022-03-15 08:04:55 +0800
commit021e25e6b38ea5ee9939c237e605fed8483cf228 (patch)
tree783d2e1efb4adaaff188d6e91428170122c900eb
parente3ec9c152f3ca5d6a3e07ef44a82b31cadb616e9 (diff)
fix: xrepo export export to current working dir.
-rw-r--r--xmake/modules/private/xrepo/action/export.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/modules/private/xrepo/action/export.lua b/xmake/modules/private/xrepo/action/export.lua
index 66517bf79..fb8a006b8 100644
--- a/xmake/modules/private/xrepo/action/export.lua
+++ b/xmake/modules/private/xrepo/action/export.lua
@@ -86,6 +86,7 @@ function _export_packages(packages)
end
end
+ local oldir = os.curdir()
-- enter working project directory
local subdir = "working"
if packagefile then