summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2020-02-29 00:54:02 +0800
committerruki <[email protected]>2020-02-28 23:24:16 +0800
commit4a15e79d3d83174b8a81bb192bcb3d86692b2cab (patch)
treeb3a8079c7c3406938f936c7ba4f101e10503a663
parent95e759a4285771b33bf077712e0783f98df309be (diff)
fix update
-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