diff options
| author | ruki <[email protected]> | 2017-03-30 20:43:35 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-03-30 20:43:35 +0800 |
| commit | 8cece0ebb4012780f8c290f38e7bb022e59b6782 (patch) | |
| tree | 0be764a61a8fe99eabd1507fdcea09c813fb8a2b /xmake/core/sandbox/modules/os.lua | |
| parent | dd3e97f4c1d1ede059b3cc6f52808409b4462c36 (diff) | |
fix root bug for installation
Diffstat (limited to 'xmake/core/sandbox/modules/os.lua')
| -rw-r--r-- | xmake/core/sandbox/modules/os.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/sandbox/modules/os.lua b/xmake/core/sandbox/modules/os.lua index 94b78c6b8..55950f7de 100644 --- a/xmake/core/sandbox/modules/os.lua +++ b/xmake/core/sandbox/modules/os.lua @@ -503,7 +503,7 @@ end function sandbox_os.sudol(runner, luafile, luaargv) -- init argv - local argv = {"lua"} + local argv = {"lua", "--root"} for _, name in ipairs({"file", "project", "backtrace", "verbose", "quiet"}) do local value = option.get(name) if type(value) == "string" then |
