diff options
author | Peter Young <young40@gmail.com> | 2019-05-19 03:07:35 +0800 |
---|---|---|
committer | Peter Young <young40@gmail.com> | 2019-05-19 03:07:35 +0800 |
commit | c744bab5ac5f8093b78aac40a97963a41fd6ed89 (patch) | |
tree | 942248d2f71f21690dfbc4bc091b92c1bb821213 /osx.sh | |
parent | 2aef52144f05ebb8ce0378248b20ec5889318f92 (diff) | |
download | lua-language-server-c744bab5ac5f8093b78aac40a97963a41fd6ed89.zip |
try to install after compiled.
Diffstat (limited to 'osx.sh')
-rwxr-xr-x | osx.sh | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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" |