summaryrefslogtreecommitdiff
path: root/make/bootstrap.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-12-14 20:54:37 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-12-14 20:54:37 +0800
commit18b56a2284afa3e8b4a01751753116219015abcb (patch)
treeeee0873ee8dfb6bc1cf277b806204ed7fee06457 /make/bootstrap.lua
parent96c42420174e6cd58c2b96d263364d4a35767796 (diff)
downloadlua-language-server-18b56a2284afa3e8b4a01751753116219015abcb.zip
revert to `bin/<platform>`
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 36b9ce96..e9e61c77 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.."$")
+ 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))