summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"