summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrep-publish4
-rwxr-xr-xstage2
2 files changed, 3 insertions, 3 deletions
diff --git a/rep-publish b/rep-publish
index 8db26e0..6e555a4 100755
--- a/rep-publish
+++ b/rep-publish
@@ -29,5 +29,5 @@ if [ -z "$host" ]; then
fi
shift
-rsync -v -rlpt -c --exclude '.*' --copy-unsafe-links --prune-empty-dirs \
---delete-after $* $dir/ $host
+rsync -v -rltO -c --chmod=ugo=rwX --exclude '.*' --copy-unsafe-links \
+--prune-empty-dirs --delete-after $* $dir/ $host
diff --git a/stage b/stage
index 460a7ae..f861578 100755
--- a/stage
+++ b/stage
@@ -210,7 +210,7 @@ function sync_dist () # <dist-src> <dist-dst> [<rsync-options>]
info "Press Enter to start distribution upload to $d"
read
- rsync -v -rlpt -c --copy-unsafe-links --prune-empty-dirs \
+ rsync -v -rltO -c --chmod=ugo=rwX --copy-unsafe-links --prune-empty-dirs \
$rsync_ops "$@" "$s/" "$d/"
}