diff --git a/lib/utility.lua b/lib/utility.lua index a2d9d38..cd6406c 100644 --- a/lib/utility.lua +++ b/lib/utility.lua @@ -280,8 +280,9 @@ utility.read_file = function(file_name) end utility.write_file = function(file_name, ...) + local text = table.concat{...} return utility.open(file_name, "w", function(file) - file:write(table.concat{...}) + file:write(text) -- file:write("\n") -- I need to make sure /I/ handle this instead of trying to automate it end) end diff --git a/refresh_sources.lua b/refresh_sources.lua index 0bed99f..ab88a9d 100755 --- a/refresh_sources.lua +++ b/refresh_sources.lua @@ -23,11 +23,11 @@ if not config.models then end log{ - -- info = true, - -- warning = true, + info = true, + warning = true, -- debug = true, -- files = true, -- debugging why the wrong files are selected - sha = true, -- what the fuck is going on with sha sums? + -- sha = true, -- what the fuck is going on with sha sums? } local memory_path = "PRIVATE_DATA" .. utility.path_separator .. "memory"