summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/actions/update/main.lua8
1 files 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