From 33729fbb22f06ec784cbabf9fe06847a6077e86c Mon Sep 17 00:00:00 2001 From: OpportunityLiu Date: Wed, 17 Jul 2019 21:30:07 +0800 Subject: fix runv --- xmake/core/base/os.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmake/core/base/os.lua b/xmake/core/base/os.lua index 53670360f..617b0ee52 100644 --- a/xmake/core/base/os.lua +++ b/xmake/core/base/os.lua @@ -541,7 +541,7 @@ function os.runv(program, argv, opt) if ok ~= 0 then -- make errors - local errors = io.readfile(log) + local errors = io.readfile(logfile) if not errors or #errors == 0 then if argv ~= nil then errors = string.format("runv(%s %s) failed(%d)!", program, table.concat(argv, ' '), ok) -- cgit v1.3.1