mirror of
https://github.com/cdr/code-server.git
synced 2026-04-12 01:51:26 +02:00
Preserve permissions with rsync
This is mostly just because if the opts are empty, it seems to error in macOS for some reason...(rsync_opts[@]: unbound variable).
This commit is contained in:
parent
1fa5d5084b
commit
4af6408e39
1 changed files with 2 additions and 2 deletions
|
|
@ -79,7 +79,7 @@ EOF
|
|||
mv npm-shrinkwrap.json "$RELEASE_PATH"
|
||||
|
||||
if [ "$KEEP_MODULES" = 1 ]; then
|
||||
local rsync_opts=()
|
||||
local rsync_opts=(-a)
|
||||
if [[ ${DEBUG-} = 1 ]]; then
|
||||
rsync_opts+=(-vh)
|
||||
fi
|
||||
|
|
@ -100,7 +100,7 @@ EOF
|
|||
bundle_vscode() {
|
||||
mkdir -p "$VSCODE_OUT_PATH"
|
||||
|
||||
local rsync_opts=()
|
||||
local rsync_opts=(-a)
|
||||
if [[ ${DEBUG-} = 1 ]]; then
|
||||
rsync_opts+=(-vh)
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue