summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2018-12-20 22:30:49 +0800
committerruki <[email protected]>2018-12-20 09:04:58 +0800
commitc68cf15bf9716576076507643a45bf1adc48f0ea (patch)
tree549de08f692947c5270ee68c84a557217e91284a
parentfb8899cf630d5ccea014ce16adcceb62c9565eb1 (diff)
erase tail chars when updating xmake
-rw-r--r--xmake/actions/update/main.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/actions/update/main.lua b/xmake/actions/update/main.lua
index 7d2f9aced..98c3f570d 100644
--- a/xmake/actions/update/main.lua
+++ b/xmake/actions/update/main.lua
@@ -191,7 +191,7 @@ function _install(sourcedir, version)
-- trace
if ok then
- cprint("\r${yellow} => ${clear}install to %s .. ${green}ok", installdir)
+ cprint("\r${yellow} => ${clear}install to %s .. ${green}ok ", installdir)
else
raise("install failed!")
end
@@ -300,10 +300,10 @@ function main()
}
}
if ok then
- cprint("\r${yellow} => ${clear}download %s .. ${green}ok", url)
+ cprint("\r${yellow} => ${clear}download %s .. ${green}ok ", url)
break
else
- cprint("\r${yellow} => ${clear}download %s .. ${red}failed", url)
+ cprint("\r${yellow} => ${clear}download %s .. ${red}failed ", url)
end
if not ok and idx == #mainurls then
raise("download failed!")