diff options
| author | ruki <[email protected]> | 2017-08-01 11:52:55 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-08-01 11:52:55 +0800 |
| commit | c87c400fcbb581c1590694bf6ee05d73d5d3e984 (patch) | |
| tree | 613f69068bd9015aecc891b5b67df7992b7e5e54 /xmake/core/base/os.lua | |
| parent | fa9702bfcf4ba7ed2b599727913444cc3498bfda (diff) | |
improve dep compile and link
Diffstat (limited to 'xmake/core/base/os.lua')
| -rw-r--r-- | xmake/core/base/os.lua | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/xmake/core/base/os.lua b/xmake/core/base/os.lua index 557b3d7a7..798feb4e2 100644 --- a/xmake/core/base/os.lua +++ b/xmake/core/base/os.lua @@ -159,15 +159,6 @@ end -- make string from arguments list function os.args(argv) - -- init key - local key = tostring(argv) - - -- init cache - os._ARGS = os._ARGS or {} - if os._ARGS[key] then - return os._ARGS[key] - end - -- make it local args = nil for _, arg in ipairs(argv) do @@ -190,9 +181,6 @@ function os.args(argv) end end - -- cache it - os._ARGS[key] = args or "" - -- ok? return args or "" end |
