summaryrefslogtreecommitdiffstatshomepage
path: root/plugins/boot.lua
diff options
context:
space:
mode:
author cracyc <cracyc@users.noreply.github.com>2020-02-11 17:04:36 -0600
committer cracyc <cracyc@users.noreply.github.com>2020-02-11 17:04:36 -0600
commita0a658a11148f3dac497d24a3eb16460df9b69c0 (patch)
tree3eb19621f59b21631e7d17c99da629d4c7914add /plugins/boot.lua
parent712bd32a8ce5df7438775ee161aa3747bc340744 (diff)
fix various things. checkpointed the alphatpc16, will credit before next release (nw)
Diffstat (limited to 'plugins/boot.lua')
-rw-r--r--plugins/boot.lua4
1 files changed, 2 insertions, 2 deletions
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