Browse Source

freshnaut: Support lua 5.2

master
mid-kid 9 years ago
parent
commit
a4dadea7e5
  1. 5
      astronaut/freshnaut

5
astronaut/freshnaut

@ -17,7 +17,7 @@ function call(command)
local pipe = io.popen(command)
if pipe then
local output = pipe:read("a")
local output = pipe:read("*all")
if pipe:close() then
if #output > 0 then
return output:match("(.-)%s*$")
@ -181,4 +181,7 @@ elseif arg[1] == "dir" then
print("Failed to create dir for " .. satellite)
end
end
else
show_help()
os.exit(1)
end

Loading…
Cancel
Save