Skip to content

Commit a173969

Browse files
committed
Fix microsoft#14044: follow symlinks recursively in Linux launch script
1 parent 6625423 commit a173969

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

resources/linux/bin/code.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ if [ ! -L $0 ]; then
2424
else
2525
if which readlink >/dev/null; then
2626
# if readlink exists, follow the symlink and find relatively
27-
VSCODE_PATH="$(dirname $(readlink $0))/.."
27+
VSCODE_PATH="$(dirname $(readlink -f $0))/.."
2828
else
2929
# else use the standard install location
3030
VSCODE_PATH="/usr/share/@@NAME@@"

0 commit comments

Comments
 (0)