mirror of
https://github.com/cdr/code-server.git
synced 2025-12-06 16:34:35 +01:00
Enforce Node binary permissions
In some cases it may have extra write permissions.
This commit is contained in:
parent
cef2aa22dc
commit
56d10d82bf
1 changed files with 2 additions and 0 deletions
|
|
@ -24,6 +24,8 @@ main() {
|
||||||
rsync ./ci/build/code-server.sh "$RELEASE_PATH/bin/code-server"
|
rsync ./ci/build/code-server.sh "$RELEASE_PATH/bin/code-server"
|
||||||
rsync "$node_path" "$RELEASE_PATH/lib/node"
|
rsync "$node_path" "$RELEASE_PATH/lib/node"
|
||||||
|
|
||||||
|
chmod 755 "$RELEASE_PATH/lib/node"
|
||||||
|
|
||||||
pushd "$RELEASE_PATH"
|
pushd "$RELEASE_PATH"
|
||||||
npm install --unsafe-perm --omit=dev
|
npm install --unsafe-perm --omit=dev
|
||||||
popd
|
popd
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue