mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 02:58:56 +01:00
code server scripts: use realpath
This commit is contained in:
12
resources/server/bin/code-server-linux.sh
Normal file
12
resources/server/bin/code-server-linux.sh
Normal file
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env sh
|
||||
#
|
||||
# Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
#
|
||||
|
||||
case "$1" in
|
||||
--inspect*) INSPECT="$1"; shift;;
|
||||
esac
|
||||
|
||||
ROOT=$(dirname $(dirname $(readlink -f $0)))
|
||||
|
||||
"$ROOT/node" ${INSPECT:-} "$ROOT/out/server-main.js" "$@"
|
||||
Reference in New Issue
Block a user