summaryrefslogtreecommitdiff
path: root/xmake/core/sandbox/modules/os.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-02-14 23:18:25 +0800
committerruki <[email protected]>2020-02-14 13:50:33 +0800
commitc00d159a9a510e39ac5e00cb29c26651f4fc56aa (patch)
tree80c0ebc4ace229a7c16e71e7efcf049d41f06157 /xmake/core/sandbox/modules/os.lua
parentffb92f48bcfbe4c34d027a7e01ff27b18b97c431 (diff)
add subsystem host andarch
Diffstat (limited to 'xmake/core/sandbox/modules/os.lua')
-rw-r--r--xmake/core/sandbox/modules/os.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/xmake/core/sandbox/modules/os.lua b/xmake/core/sandbox/modules/os.lua
index 782082a7e..038807745 100644
--- a/xmake/core/sandbox/modules/os.lua
+++ b/xmake/core/sandbox/modules/os.lua
@@ -35,8 +35,8 @@ local sandbox_os = sandbox_os or {}
-- inherit some builtin interfaces
sandbox_os.host = os.host
sandbox_os.arch = os.arch
-sandbox_os.syshost = os.syshost
-sandbox_os.sysarch = os.sysarch
+sandbox_os.subhost = os.subhost
+sandbox_os.subarch = os.subarch
sandbox_os.exit = os.exit
sandbox_os.date = os.date
sandbox_os.time = os.time
@@ -67,7 +67,6 @@ sandbox_os.programfile = os.programfile
sandbox_os.projectdir = os.projectdir
sandbox_os.projectfile = os.projectfile
sandbox_os.getwinsize = os.getwinsize
-sandbox_os.user_agent = os.user_agent
-- copy file or directory
function sandbox_os.cp(...)