diff options
| author | TitanSnow <[email protected]> | 2017-05-24 18:28:32 +0800 |
|---|---|---|
| committer | TitanSnow <[email protected]> | 2017-05-25 08:18:09 +0800 |
| commit | 0744b67c8e4cbf92ec9fd8bbaedbe35d213b864b (patch) | |
| tree | cc9ff4144fcfb4e766307799a0aeee5bf4bd81cb | |
| parent | a647f87c9324f735b26cb2f08e32afd1d82357fd (diff) | |
directly inherit os.versioninfo
| -rw-r--r-- | xmake/core/sandbox/modules/os.lua | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/xmake/core/sandbox/modules/os.lua b/xmake/core/sandbox/modules/os.lua index 4b31128d2..4fee98405 100644 --- a/xmake/core/sandbox/modules/os.lua +++ b/xmake/core/sandbox/modules/os.lua @@ -48,6 +48,7 @@ sandbox_os.nuldev = os.nuldev sandbox_os.emptydir = os.emptydir sandbox_os.programdir = os.programdir sandbox_os.programfile = os.programfile +sandbox_os.versioninfo = os.versioninfo -- copy file or directory function sandbox_os.cp(...) @@ -459,11 +460,6 @@ function sandbox_os.uuid(name) return uuid end --- get versioninfo -function sandbox_os.versioninfo() - return os.versioninfo() -end - -- return module return sandbox_os |
