diff options
| author | ruki <[email protected]> | 2017-05-24 14:32:08 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-05-24 14:32:08 +0800 |
| commit | 7ef69739513b4b4431f6f683fe2a9d297658be02 (patch) | |
| tree | 14fd2789a956cbcb79e1ea217541bfc6e75bd99e /xmake/core/sandbox/modules/os.lua | |
| parent | 4e52205dc696ade5ba01c8d6ccf9831b59ad6196 (diff) | |
remove xmake variable
Diffstat (limited to 'xmake/core/sandbox/modules/os.lua')
| -rw-r--r-- | xmake/core/sandbox/modules/os.lua | 33 |
1 files changed, 14 insertions, 19 deletions
diff --git a/xmake/core/sandbox/modules/os.lua b/xmake/core/sandbox/modules/os.lua index 00e22bfbb..4b31128d2 100644 --- a/xmake/core/sandbox/modules/os.lua +++ b/xmake/core/sandbox/modules/os.lua @@ -34,18 +34,20 @@ local vformat = require("sandbox/modules/vformat") local sandbox_os = sandbox_os or {} -- inherit some builtin interfaces -sandbox_os.host = os.host -sandbox_os.arch = os.arch -sandbox_os.exit = os.exit -sandbox_os.date = os.date -sandbox_os.time = os.time -sandbox_os.argv = os.argv -sandbox_os.argw = os.argw -sandbox_os.mtime = os.mtime -sandbox_os.sleep = os.sleep -sandbox_os.mclock = os.mclock -sandbox_os.nuldev = os.nuldev -sandbox_os.emptydir = os.emptydir +sandbox_os.host = os.host +sandbox_os.arch = os.arch +sandbox_os.exit = os.exit +sandbox_os.date = os.date +sandbox_os.time = os.time +sandbox_os.argv = os.argv +sandbox_os.argw = os.argw +sandbox_os.mtime = os.mtime +sandbox_os.sleep = os.sleep +sandbox_os.mclock = os.mclock +sandbox_os.nuldev = os.nuldev +sandbox_os.emptydir = os.emptydir +sandbox_os.programdir = os.programdir +sandbox_os.programfile = os.programfile -- copy file or directory function sandbox_os.cp(...) @@ -202,13 +204,6 @@ function sandbox_os.toolsdir() return xmake._TOOLS_DIR end --- get the program directory -function sandbox_os.programdir() - - -- get it - return xmake._PROGRAM_DIR -end - -- get the script directory function sandbox_os.scriptdir() |
