diff options
author | Clement Farabet <clement.farabet@gmail.com> | 2011-07-26 06:53:38 +0400 |
---|---|---|
committer | Clement Farabet <clement.farabet@gmail.com> | 2011-07-26 06:53:38 +0400 |
commit | eb3ce187499a4d43d19ea598172c3edb5051a256 (patch) | |
tree | b675b68aa24fc22c13381d745ba3f4114b542493 | |
parent | 5f9a7decfc264f4f481f5fa03c9e4d4a01061b4a (diff) |
Fixed bug on prefix parser.
-rw-r--r-- | sys.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -115,7 +115,7 @@ lla = function() return execute 'ls -la' end -------------------------------------------------------------------------------- -- prefix -------------------------------------------------------------------------------- -prefix = execute('which lua'):gsub('/bin/lua\n','') +prefix = execute('which lua'):gsub('//','/'):gsub('/bin/lua\n','') -------------------------------------------------------------------------------- -- always returns the path of the file running |