From c28d41658d18c8573bbe88bf1ba3bdcb93abb5c2 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sun, 5 Apr 2009 20:33:22 +0000 Subject: fixed chmod line to hopefully work svn path=/trunk/; revision=10961 --- scripts/auto-build/pd-devel-auto-builder.sh | 4 ++-- scripts/auto-build/pd-extended-auto-builder.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'scripts/auto-build') 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}" && \ -- cgit v1.2.1