Make symlinking the entry script work

This commit is contained in:
Asher 2020-03-04 15:22:32 -06:00
parent 3e8a6f93a4
commit a442d3e3f9
No known key found for this signature in database
GPG Key ID: D63C1EF81242354A

View File

@ -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 "$@"