aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-04-03 17:58:10 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-04-03 17:58:10 +0000
commitdfffde8595405a3350eb48da94271201b52bb687 (patch)
tree325c53e15e551bd69e7931cf79859ec0b67c2e94
parent16ce77aaf12f0b93fb77368c5b061874e8afffba (diff)
added chmod to rsync uploading to try to insure that the uploads are downloadable via the website
svn path=/trunk/; revision=10959
-rwxr-xr-xscripts/auto-build/pd-devel-auto-builder.sh4
-rwxr-xr-xscripts/auto-build/pd-extended-auto-builder.sh4
2 files changed, 4 insertions, 4 deletions
diff --git a/scripts/auto-build/pd-devel-auto-builder.sh b/scripts/auto-build/pd-devel-auto-builder.sh
index 945867f7..13a0a634 100755
--- a/scripts/auto-build/pd-devel-auto-builder.sh
+++ b/scripts/auto-build/pd-devel-auto-builder.sh
@@ -76,7 +76,7 @@ upload_build ()
case $SYSTEM in
mingw*)
/c/cygwin/bin/sh -c \
- "rsync --archive --no-links --copy-links ${archive} rsync://128.238.56.50/upload/${DATE}/${upload_filename}" && \
+ "rsync --archive --no-links --copy-links --chmod=0644 ${archive} rsync://128.238.56.50/upload/${DATE}/${upload_filename}" && \
md5sum ${archive} > ${archive}.md5 && \
/c/cygwin/bin/sh -c \
"rsync --archive --no-links --copy-links ${archive}.md5 rsync://128.238.56.50/upload/${DATE}/${upload_filename}.md5" && \
@@ -84,7 +84,7 @@ upload_build ()
echo SUCCESS
;;
*)
- rsync -a ${archive} rsync://128.238.56.50/upload/${DATE}/${upload_filename} && \
+ rsync -a --chmod=0644 ${archive} rsync://128.238.56.50/upload/${DATE}/${upload_filename} && \
md5sum ${archive} > ${archive}.md5 && \
rsync -a ${archive}.md5 rsync://128.238.56.50/upload/${DATE}/${upload_filename}.md5 && \
echo "successfully uploaded: ${upload_filename}" && \
diff --git a/scripts/auto-build/pd-extended-auto-builder.sh b/scripts/auto-build/pd-extended-auto-builder.sh
index 09d2318a..1092a07c 100755
--- a/scripts/auto-build/pd-extended-auto-builder.sh
+++ b/scripts/auto-build/pd-extended-auto-builder.sh
@@ -66,7 +66,7 @@ upload_build ()
case $SYSTEM in
mingw*)
/c/cygwin/bin/sh -c \
- "rsync --archive --no-links --copy-links ${archive} rsync://128.238.56.50/upload/${DATE}/${upload_filename}" && \
+ "rsync --archive --no-links --copy-links --chmod=0644 ${archive} rsync://128.238.56.50/upload/${DATE}/${upload_filename}" && \
md5sum ${archive} > ${archive}.md5 && \
/c/cygwin/bin/sh -c \
"rsync --archive --no-links --copy-links ${archive}.md5 rsync://128.238.56.50/upload/${DATE}/${upload_filename}.md5" && \
@@ -74,7 +74,7 @@ upload_build ()
echo SUCCESS
;;
*)
- rsync -a ${archive} rsync://128.238.56.50/upload/${DATE}/${upload_filename} && \
+ rsync -a --chmod=0644 ${archive} rsync://128.238.56.50/upload/${DATE}/${upload_filename} && \
md5sum ${archive} > ${archive}.md5 && \
rsync -a ${archive}.md5 rsync://128.238.56.50/upload/${DATE}/${upload_filename}.md5 && \
echo "successfully uploaded: ${upload_filename}" && \