Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torch/sys.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClement Farabet <clement.farabet@gmail.com>2013-10-12 21:32:25 +0400
committerClement Farabet <clement.farabet@gmail.com>2013-10-12 21:32:25 +0400
commitd74a5aca87bd1630b597bde6381dc414257f2f7a (patch)
tree8205aea69eb2880c4d3434e356722ee0e4e41887
parent914706a01bfb8f78eb044aa62d61f61082ff3329 (diff)
Backward compat
-rw-r--r--init.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/init.lua b/init.lua
index be81782..ab926be 100644
--- a/init.lua
+++ b/init.lua
@@ -176,3 +176,9 @@ COLORS = {none = '\27[0m',
_magenta = '\27[45m',
_cyan = '\27[46m',
_white = '\27[47m'}
+
+--------------------------------------------------------------------------------
+-- backward compat
+--------------------------------------------------------------------------------
+sys.dirname = paths.dirname
+sys.concat = paths.concat