From a0a658a11148f3dac497d24a3eb16460df9b69c0 Mon Sep 17 00:00:00 2001 From: cracyc Date: Tue, 11 Feb 2020 17:04:36 -0600 Subject: fix various things. checkpointed the alphatpc16, will credit before next release (nw) --- plugins/boot.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/boot.lua') diff --git a/plugins/boot.lua b/plugins/boot.lua index 858e1a5b4db..52c56912a0f 100644 --- a/plugins/boot.lua +++ b/plugins/boot.lua @@ -14,9 +14,9 @@ function lfs.env_replace(str) end if pathsep == '\\' then - str = str:gsub("%%(%w+)%%", dorep) + str = str:gsub("%%([%w_]+)%%", dorep) else - str = str:gsub("%$(%w+)", dorep) + str = str:gsub("%$([%w_]+)", dorep) end return str end -- cgit v1.2.3-70-g09d2