diff options
| author | ruki <[email protected]> | 2017-05-21 21:33:30 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-05-21 21:33:30 +0800 |
| commit | 83f448dc569b70410765dfe6241fabc351feb54f (patch) | |
| tree | 7bd1762bf8235d535980ff8223df6c50048a7365 /xmake/core/project/task.lua | |
| parent | b173fc383b9b1e80f0cbd2229d7b6d46ff75f0b6 (diff) | |
fix write nuldev bug as root
Diffstat (limited to 'xmake/core/project/task.lua')
| -rw-r--r-- | xmake/core/project/task.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/project/task.lua b/xmake/core/project/task.lua index a237c1dc6..0111dd6e9 100644 --- a/xmake/core/project/task.lua +++ b/xmake/core/project/task.lua @@ -196,7 +196,7 @@ function task._interpreter() local maps = { host = xmake._HOST - , nuldev = xmake._NULDEV + , nuldev = os.nuldev() , tmpdir = os.tmpdir() , curdir = os.curdir() , globaldir = global.directory() |
