mirror of https://git.tuxpa.in/a/code-server.git
Make symlinking the entry script work
This commit is contained in:
parent
3e8a6f93a4
commit
a442d3e3f9
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
# code-server.sh -- Run code-server with the bundled Node binary.
|
# code-server.sh -- Run code-server with the bundled Node binary.
|
||||||
|
|
||||||
cd "$(dirname "$0")" || exit 1
|
cd "$(dirname "$(readlink -f "$0" || realpath "$0")")" || exit 1
|
||||||
|
|
||||||
./node ./out/node/entry.js "$@"
|
./node ./out/node/entry.js "$@"
|
||||||
|
|
Loading…
Reference in New Issue