summaryrefslogtreecommitdiff
path: root/osx.sh
diff options
context:
space:
mode:
authorPeter Young <young40@gmail.com>2019-05-19 03:07:35 +0800
committerPeter Young <young40@gmail.com>2019-05-19 03:07:35 +0800
commitc744bab5ac5f8093b78aac40a97963a41fd6ed89 (patch)
tree942248d2f71f21690dfbc4bc091b92c1bb821213 /osx.sh
parent2aef52144f05ebb8ce0378248b20ec5889318f92 (diff)
downloadlua-language-server-c744bab5ac5f8093b78aac40a97963a41fd6ed89.zip
try to install after compiled.
Diffstat (limited to 'osx.sh')
-rwxr-xr-xosx.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/osx.sh b/osx.sh
index f2f348b5..b56c7fa1 100755
--- a/osx.sh
+++ b/osx.sh
@@ -23,10 +23,7 @@ cd -
cp server/*.so publish/lua-language-server/server/
echo "Try to install lua-language-server for you:"
-while read path; do
- INSTALL_PATH=$path
- break
-done <<< `find ~/.vscode/extensions -name "sumneko.lua-*" | sort -r | head -1`
+INSTALL_PATH=`find ~/.vscode/extensions -name "sumneko.lua-*" | sort -r | head -1`
if [ -d "$INSTALL_PATH" ]; then
cp server/bin/lua-language-server "${INSTALL_PATH}/server/bin"