From 27e69917cb7c5c6794ff2e9b579acb6280dfd2a6 Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 19 Dec 2018 23:38:34 +0800 Subject: fix xmake update --- xmake/actions/update/main.lua | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/xmake/actions/update/main.lua b/xmake/actions/update/main.lua index 8c7993204..2c93c05aa 100644 --- a/xmake/actions/update/main.lua +++ b/xmake/actions/update/main.lua @@ -174,12 +174,7 @@ function _install(sourcedir, version) raise("the installer(%s) not found!", installer) end else - if os.programdir():startswith("/usr/") then - os.vrun("make build") - _sudo("make install") - else - os.vrun("./scripts/get.sh __local__") - end + os.vrun("./scripts/get.sh __local__") end return true end, -- cgit v1.3.1