summaryrefslogtreecommitdiff
path: root/osx.sh
diff options
context:
space:
mode:
authorsumneko <sumneko@hotmail.com>2019-05-29 17:18:31 +0800
committersumneko <sumneko@hotmail.com>2019-05-29 17:18:31 +0800
commitccfc00091374263ec53634a76681469869edfeae (patch)
tree6057628b4a9797d734cd9d3e47b7381934a65c87 /osx.sh
parent56b5a4408e69f72cf489f57ccda5d3a02149bd6f (diff)
downloadlua-language-server-ccfc00091374263ec53634a76681469869edfeae.zip
#31 更新 osx.sh
Diffstat (limited to 'osx.sh')
-rwxr-xr-xosx.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/osx.sh b/osx.sh
index 38a9ecc4..bb2ea2d5 100755
--- a/osx.sh
+++ b/osx.sh
@@ -16,7 +16,6 @@ cd -
./3rd/luamake/luamake
cd server
-cp bin/*.so .
# avoid too many file opened error
ulimit -n 4000
@@ -24,7 +23,7 @@ ulimit -n 4000
./bin/lua-language-server publish.lua
cd -
-cp server/*.so publish/lua-language-server/server/
+cp server/bin/*.so "${INSTALL_PATH}/server/bin"
echo "Try to install lua-language-server for you:"
INSTALL_PATH=`find ~/.vscode/extensions -name "sumneko.lua-*" | sort -r | head -1`