summaryrefslogtreecommitdiff
path: root/make/bootstrap.lua
diff options
context:
space:
mode:
authorsumneko <sumneko@hotmail.com>2021-12-14 23:48:49 +0800
committersumneko <sumneko@hotmail.com>2021-12-14 23:48:49 +0800
commitaf24e6d17e5dc39ad2ef04b1ede427a7c23d10f2 (patch)
treea0c2eaf40b2c7c5691ccfe4e7448d771f7826630 /make/bootstrap.lua
parent4a5e54ebc7f9f22fb3a3b29fc152b0f573149a55 (diff)
downloadlua-language-server-af24e6d17e5dc39ad2ef04b1ede427a7c23d10f2.zip
remove `<platform>` folder
Diffstat (limited to 'make/bootstrap.lua')
-rw-r--r--make/bootstrap.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/make/bootstrap.lua b/make/bootstrap.lua
index e9e61c77..36b9ce96 100644
--- a/make/bootstrap.lua
+++ b/make/bootstrap.lua
@@ -49,7 +49,7 @@ local root; do
sep = '/\\'
end
local pattern = "["..sep.."][^"..sep.."]+"
- root = package.cpath:match("([^;]+)"..pattern..pattern..pattern.."$")
+ root = package.cpath:match("([^;]+)"..pattern..pattern.."$")
arg[0] = root .. package.config:sub(1,1) .. 'main.lua'
end
root = root:gsub('[/\\]', package.config:sub(1,1))