aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/args.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/args.lua b/core/args.lua
index b9635d29..6f63f616 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
- if not arg[i]:find(not WIN32 and '^/' or '^%u:[/\\]') then
+ if not arg[i]:find(not WIN32 and '^/' or '^%a:[/\\]') then
-- Convert relative path to absolute path.
local cwd = arg[-1] or lfs.currentdir()
arg[i] = cwd..(not WIN32 and '/' or '\\')..arg[i]