From 2321c7ad5ab98d0be3b932f00bb91601b313cef9 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Thu, 10 Apr 2014 10:04:49 -0400 Subject: Fixed bug introduced by r1710 relating to absolute paths. --- core/args.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/args.lua') diff --git a/core/args.lua b/core/args.lua index 6fd18841..cc34e837 100644 --- a/core/args.lua +++ b/core/args.lua @@ -57,7 +57,7 @@ function M.process(arg) f(table.unpack(args)) i = i + n else - io.open_file(lfs.abspath(arg[i])) + io.open_file(lfs.abspath(arg[i], arg[-1])) no_args = false end i = i + 1 -- cgit v1.2.3