提交 69e491de 编写于 作者: A Aditya Thakral

Add "" around $0 in Linux starting script

上级 f25c779b
......@@ -26,13 +26,13 @@ if [ "$(id -u)" = "0" ]; then
fi
fi
if [ ! -L $0 ]; then
if [ ! -L "$0" ]; then
# if path is not a symlink, find relatively
VSCODE_PATH="$(dirname $0)/.."
VSCODE_PATH="$(dirname "$0")/.."
else
if command -v readlink >/dev/null; then
# if readlink exists, follow the symlink and find relatively
VSCODE_PATH="$(dirname $(readlink -f $0))/.."
VSCODE_PATH="$(dirname $(readlink -f "$0"))/.."
else
# else use the standard install location
VSCODE_PATH="/usr/share/@@NAME@@"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册