diff options
| author | ruki <[email protected]> | 2017-10-11 22:30:37 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-10-11 09:03:47 +0800 |
| commit | 62fe8c95b363434e3c9fe109f7bdd7e1af41c2eb (patch) | |
| tree | 5043993fa8d7931b50a0b46683a795f481ccb30d | |
| parent | c4fc7146f9931d7c1201d04d2c9da821c82ccaf6 (diff) | |
fix buildir readonly bug
| -rw-r--r-- | xmake/actions/config/main.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/actions/config/main.lua b/xmake/actions/config/main.lua index 522911965..402f0e711 100644 --- a/xmake/actions/config/main.lua +++ b/xmake/actions/config/main.lua @@ -256,7 +256,7 @@ function main() -- translate the build directory local buildir = config.get("buildir") if buildir and path.is_absolute(buildir) then - config.set("buildir", path.relative(buildir, project.directory())) + config.set("buildir", path.relative(buildir, project.directory()), {readonly = true, force = true}) end -- check target |
