From 4a15e79d3d83174b8a81bb192bcb3d86692b2cab Mon Sep 17 00:00:00 2001 From: ruki Date: Sat, 29 Feb 2020 00:54:02 +0800 Subject: fix update --- xmake/actions/update/main.lua | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/xmake/actions/update/main.lua b/xmake/actions/update/main.lua index 985bcb89f..a22304ff4 100644 --- a/xmake/actions/update/main.lua +++ b/xmake/actions/update/main.lua @@ -172,7 +172,8 @@ function _install(sourcedir) raise("the installer(%s) not found!", win_installer_name) end else - os.vrun("./scripts/get.sh __local__") + os.vrun("make build") + process.openv("./scripts/get.sh", {"__local__", "__install_only__"}, {stdout = os.tmpfile(), stderr = os.tmpfile()}):close() end return true end, @@ -199,11 +200,6 @@ function _install(sourcedir) else runjobs("update/install", install_task, {showtips = true}) end - - -- show version - if not is_host("windows") then - os.exec("xmake --version") - end end -- do install script -- cgit v1.3.1