Skip to content

Commit 4af6408

Browse files
committed
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).
1 parent 1fa5d50 commit 4af6408

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ci/build/build-release.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ EOF
7979
mv npm-shrinkwrap.json "$RELEASE_PATH"
8080

8181
if [ "$KEEP_MODULES" = 1 ]; then
82-
local rsync_opts=()
82+
local rsync_opts=(-a)
8383
if [[ ${DEBUG-} = 1 ]]; then
8484
rsync_opts+=(-vh)
8585
fi
@@ -100,7 +100,7 @@ EOF
100100
bundle_vscode() {
101101
mkdir -p "$VSCODE_OUT_PATH"
102102

103-
local rsync_opts=()
103+
local rsync_opts=(-a)
104104
if [[ ${DEBUG-} = 1 ]]; then
105105
rsync_opts+=(-vh)
106106
fi

0 commit comments

Comments
 (0)