summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2010-03-31 23:58:59 +0200
committerPierre Schmitz <pierre@archlinux.de>2010-03-31 23:58:59 +0200
commit48dead1af7cff7efc12f955775ee9858399a3321 (patch)
tree483075381975e01bb297aeab7c4dbc4b55c4bff7
parent17e875f6b315ee7ef60f39345a58529cc44c06ce (diff)
downloaddevtools32-48dead1af7cff7efc12f955775ee9858399a3321.tar.xz
Force correct remote file permissions
-rwxr-xr-xcommitpkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/commitpkg b/commitpkg
index 8e1e72b..bd8c450 100755
--- a/commitpkg
+++ b/commitpkg
@@ -96,7 +96,7 @@ for _arch in ${arch[@]}; do
fi
echo -n 'uploading '
- rsync -c -h -L --progress $rsyncopts "${pkgfile}" -e ssh $server:staging/$repo || abort
+ rsync -p --chmod 'ug=rw,o=r' -c -h -L --progress $rsyncopts "${pkgfile}" -e ssh $server:staging/$repo || abort
done
archrelease $repo-${_arch} || abort
done