From 8e0c711fb2ea0fb3a54b9f2b41d1907fc4be8b02 Mon Sep 17 00:00:00 2001 From: ruki Date: Tue, 28 Mar 2017 21:58:52 +0800 Subject: add sudo interface --- xmake/core/base/os.lua | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'xmake/core/base/os.lua') diff --git a/xmake/core/base/os.lua b/xmake/core/base/os.lua index 542751d54..5fb51b194 100644 --- a/xmake/core/base/os.lua +++ b/xmake/core/base/os.lua @@ -590,17 +590,5 @@ function os.isexec(filepath) return os.isfile(filepath) end --- get sudo program name for running program with administrator permission -function os.sudo() - - -- on windows? - if xmake._HOST == "windows" then - -- TODO - -- add sudo.bat - else - return "sudo" - end -end - -- return module return os -- cgit v1.3.1