diff options
| author | ruki <[email protected]> | 2020-09-03 00:49:06 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-09-03 00:49:06 +0800 |
| commit | f4201580b8fe687c3ec5fdae0960812e7b9a9706 (patch) | |
| tree | 3dda1f1315b5a1ba40d60ec9fccb079385108fd4 /xmake/modules | |
| parent | 208daf19e621bcaba400a576505553c9f20f3d89 (diff) | |
fix build directory
Diffstat (limited to 'xmake/modules')
| -rw-r--r-- | xmake/modules/private/async/runjobs.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/modules/private/async/runjobs.lua b/xmake/modules/private/async/runjobs.lua index d9ecdfa58..bb5fc17ba 100644 --- a/xmake/modules/private/async/runjobs.lua +++ b/xmake/modules/private/async/runjobs.lua @@ -182,6 +182,9 @@ function main(name, jobs, opt) { function() if jobfunc then + if opt.curdir then + os.cd(opt.curdir) + end jobfunc(i, total) end end, |
