summaryrefslogtreecommitdiff
path: root/lualibs-file.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <philipp.gesang@alumni.uni-heidelberg.de>2012-10-20 10:37:35 +0200
committerPhilipp Gesang <philipp.gesang@alumni.uni-heidelberg.de>2012-10-20 10:37:35 +0200
commit616450e5fcb90619477354f34bfd25de2081f5fa (patch)
tree665972c23a910b6b2e90c51aaeabf8f41c2a43ba /lualibs-file.lua
parent80e5c6eed03712ab06c068b5e22f1808b99f0616 (diff)
downloadlualibs-616450e5fcb90619477354f34bfd25de2081f5fa.tar.gz
repair oversight in l-file
Diffstat (limited to 'lualibs-file.lua')
-rw-r--r--lualibs-file.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/lualibs-file.lua b/lualibs-file.lua
index 7ab9fbc..bea4ef0 100644
--- a/lualibs-file.lua
+++ b/lualibs-file.lua
@@ -14,6 +14,7 @@ local file = file
local insert, concat = table.insert, table.concat
local find, gmatch, match, gsub, sub, char, lower = string.find, string.gmatch, string.match, string.gsub, string.sub, string.char, string.lower
local lpegmatch = lpeg.match
+local getcurrentdir, attributes = lfs.currentdir, lfs.attributes
local P, R, S, C, Cs, Cp, Cc = lpeg.P, lpeg.R, lpeg.S, lpeg.C, lpeg.Cs, lpeg.Cp, lpeg.Cc