summaryrefslogtreecommitdiff
path: root/xmake/core/project/task.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/core/project/task.lua')
-rw-r--r--xmake/core/project/task.lua2
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()