diff options
-rw-r--r-- | pm.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -8,7 +8,7 @@ end local function manifest(pkgname) print("fetching manifest of '"..pkgname.."'...") - local ,err = http.get(rbase..pkgname..".dat") + local res,err = http.get(rbase..pkgname..".dat") perr(err,"http.get") local files={} local files_present=false @@ -16,7 +16,7 @@ local function manifest(pkgname) for line in res:gmatch"[^\n]+" do local op,argstart = line:match "^(%w+)%s+()" if op then - argstr = line:sub(argstart) + local argstr = line:sub(argstart) local args = {} for arg in argstr:gmatch"[^ ]+" do table.insert(args,arg) |