summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pm.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/pm.lua b/pm.lua
index 7d8873a..1c497b1 100644
--- a/pm.lua
+++ b/pm.lua
@@ -13,7 +13,7 @@ local function manifest(pkgname)
local files={}
local files_present=false
local deps={}
- for line in res:gmatch"[^\n]+" do
+ for line in res.readAll():gmatch"[^\n]+" do
local op,argstart = line:match "^(%w+)%s+()"
if op then
local argstr = line:sub(argstart)
@@ -45,4 +45,5 @@ local function dl(filename)
file.close()
end
-dl(arg[1])
+return manifest
+--dl(arg[1])