aboutsummaryrefslogtreecommitdiff
path: root/scripts/auto-build
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-04-05 20:33:22 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-04-05 20:33:22 +0000
commitc28d41658d18c8573bbe88bf1ba3bdcb93abb5c2 (patch)
tree02af5ab562d0707fa19aea767972eb35d50fafd9 /scripts/auto-build
parent002ba766fdf59fceaa5dfcdb4d9a7be16b257f87 (diff)
fixed chmod line to hopefully work
svn path=/trunk/; revision=10961
Diffstat (limited to 'scripts/auto-build')
-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 13a0a634..15933a3a 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 --chmod=0644 ${archive} rsync://128.238.56.50/upload/${DATE}/${upload_filename}" && \
+ "rsync --archive --no-links --copy-links --chmod=a+r ${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 --chmod=0644 ${archive} rsync://128.238.56.50/upload/${DATE}/${upload_filename} && \
+ rsync -a --chmod=a+r ${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 1092a07c..723645fd 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 --chmod=0644 ${archive} rsync://128.238.56.50/upload/${DATE}/${upload_filename}" && \
+ "rsync --archive --no-links --copy-links --chmod=a+r ${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 --chmod=0644 ${archive} rsync://128.238.56.50/upload/${DATE}/${upload_filename} && \
+ rsync -a --chmod=a+r ${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}" && \