mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 03:29:00 +01:00
Fix #14044: follow symlinks recursively in Linux launch script
This commit is contained in:
@@ -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@@"
|
||||
|
||||
Reference in New Issue
Block a user