Compare commits

...

1 Commits

Author SHA1 Message Date
Asher
4af6408e39 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).
2026-04-06 12:03:45 -08:00

View File

@@ -79,7 +79,7 @@ EOF
mv npm-shrinkwrap.json "$RELEASE_PATH" mv npm-shrinkwrap.json "$RELEASE_PATH"
if [ "$KEEP_MODULES" = 1 ]; then if [ "$KEEP_MODULES" = 1 ]; then
local rsync_opts=() local rsync_opts=(-a)
if [[ ${DEBUG-} = 1 ]]; then if [[ ${DEBUG-} = 1 ]]; then
rsync_opts+=(-vh) rsync_opts+=(-vh)
fi fi
@@ -100,7 +100,7 @@ EOF
bundle_vscode() { bundle_vscode() {
mkdir -p "$VSCODE_OUT_PATH" mkdir -p "$VSCODE_OUT_PATH"
local rsync_opts=() local rsync_opts=(-a)
if [[ ${DEBUG-} = 1 ]]; then if [[ ${DEBUG-} = 1 ]]; then
rsync_opts+=(-vh) rsync_opts+=(-vh)
fi fi