diff options
| author | OpportunityLiu <[email protected]> | 2019-07-17 21:30:07 +0800 |
|---|---|---|
| committer | OpportunityLiu <[email protected]> | 2019-07-19 11:48:32 +0800 |
| commit | 33729fbb22f06ec784cbabf9fe06847a6077e86c (patch) | |
| tree | b864efbfde9e7e53adbbec3130e0d1c72062ddc8 | |
| parent | 4ba16a3ce3b556686455378e1f7386508e65d0fb (diff) | |
fix runv
| -rw-r--r-- | xmake/core/base/os.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
