summaryrefslogtreecommitdiffstats
path: root/apk-model.lua
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2013-10-09 20:23:57 +0000
committerTed Trask <ttrask01@yahoo.com>2013-10-09 20:23:57 +0000
commitbc27c1637bf7840d978fcd92390d91d9898351dc (patch)
tree0036fe9ae7d755efa2e8cda5c39e36e02d8ec063 /apk-model.lua
parent807d17fcbb4617b42b620b26c79e6b236c66132b (diff)
downloadacf-apk-tools-bc27c1637bf7840d978fcd92390d91d9898351dc.tar.bz2
acf-apk-tools-bc27c1637bf7840d978fcd92390d91d9898351dc.tar.xz
Change use of require to work with Lua 5.2
Diffstat (limited to 'apk-model.lua')
-rw-r--r--apk-model.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/apk-model.lua b/apk-model.lua
index 0cb2b9f..db7c8ea 100644
--- a/apk-model.lua
+++ b/apk-model.lua
@@ -1,7 +1,7 @@
-- acf model for packages (apk)
module (..., package.seeall)
-require("modelfunctions")
-require("posix")
+modelfunctions = require("modelfunctions")
+posix = require("posix")
fs = require("acf.fs")
format = require("acf.format")