summaryrefslogtreecommitdiff
path: root/make/bootstrap.lua
diff options
context:
space:
mode:
authorjefersonf <jeferson.silva>2021-10-30 13:19:12 -0300
committerjefersonf <jeferson.silva>2021-10-30 13:19:12 -0300
commitf0c5bbeb62794116b6517be51efa6054254076eb (patch)
treefee585182a7ec10e987e758a53edcbd7db9dca9b /make/bootstrap.lua
parentf41a33de696dc5ff802d2f5e540da1c87861dac9 (diff)
parent107b57cc7728824a0e9515727f9a6123c5f7c902 (diff)
downloadlua-language-server-f0c5bbeb62794116b6517be51efa6054254076eb.zip
Merge branch 'master' of https://github.com/sumneko/lua-language-server into pt-br-locale-support
Diffstat (limited to 'make/bootstrap.lua')
-rw-r--r--make/bootstrap.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/make/bootstrap.lua b/make/bootstrap.lua
index f01646a0..e9e61c77 100644
--- a/make/bootstrap.lua
+++ b/make/bootstrap.lua
@@ -52,6 +52,7 @@ local root; do
root = package.cpath:match("([^;]+)"..pattern..pattern..pattern.."$")
arg[0] = root .. package.config:sub(1,1) .. 'main.lua'
end
+ root = root:gsub('[/\\]', package.config:sub(1,1))
end
package.path = table.concat({