mirror of
https://github.com/cdr/code-server.git
synced 2025-12-06 00:14:08 +01:00
Use native node -p to get exec path (#7420)
This commit is contained in:
parent
cdac5bff64
commit
8b3d9b9e0a
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ main() {
|
|||
# Package managers may shim their own "node" wrapper into the PATH, so run
|
||||
# node and ask it for its true path.
|
||||
local node_path
|
||||
node_path="$(node <<< 'console.info(process.execPath)')"
|
||||
node_path="$(node -p process.execPath)"
|
||||
|
||||
mkdir -p "$RELEASE_PATH/bin"
|
||||
mkdir -p "$RELEASE_PATH/lib"
|
||||
|
|
|
|||
Loading…
Reference in a new issue