提交 a1739696 编写于 作者: M Michael Chou

Fix #14044: follow symlinks recursively in Linux launch script

上级 6625423c
......@@ -24,7 +24,7 @@ if [ ! -L $0 ]; then
else
if which readlink >/dev/null; then
# if readlink exists, follow the symlink and find relatively
VSCODE_PATH="$(dirname $(readlink $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.
先完成此消息的编辑!
想要评论请 注册