From f8f0cf8d4893c30b498ba30873b8cda02d75e587 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Tue, 30 Oct 2012 18:00:27 +0000 Subject: untabify again svn path=/trunk/; revision=16494 --- scripts/auto-build/pd-extended-auto-builder.sh | 62 ++++++++++++------------ scripts/auto-build/pd-extended-source-tarball.sh | 2 +- 2 files changed, 32 insertions(+), 32 deletions(-) (limited to 'scripts/auto-build') diff --git a/scripts/auto-build/pd-extended-auto-builder.sh b/scripts/auto-build/pd-extended-auto-builder.sh index f21cb9f4..d0e2c572 100755 --- a/scripts/auto-build/pd-extended-auto-builder.sh +++ b/scripts/auto-build/pd-extended-auto-builder.sh @@ -101,45 +101,45 @@ upload_build () echo "Uploading $archive" upload_filename=$(ls -1 ${archive} | sed "s|.*/\(.*\)\.${archive_format}|\1-${HOSTNAME}.${archive_format}|") if [ -e ${archive} ]; then - case $SYSTEM in - mingw*) - /c/cygwin/bin/sh -c \ - "rsync --archive --no-links --copy-links --chmod=a+r ${archive} rsync://${RSYNC_SERVER}/upload/${DATE}/${upload_filename}" && \ - md5sum ${archive} | sed "s|^\([0-9a-f][0-9a-f]* \).*|\1${archive}|" > ${archive}.md5 && \ - /c/cygwin/bin/sh -c \ - "rsync --archive --no-links --copy-links ${archive}.md5 rsync://${RSYNC_SERVER}/upload/${DATE}/${upload_filename}.md5" && \ - echo "successfully uploaded: ${upload_filename}" && \ - echo SUCCESS - ;; - *) - rsync -a --chmod=a+r ${archive} rsync://${RSYNC_SERVER}/upload/${DATE}/${upload_filename} && \ - md5sum ${archive} | sed "s|^\([0-9a-f][0-9a-f]* \).*|\1${archive}|" > ${archive}.md5 && \ - rsync -a ${archive}.md5 rsync://${RSYNC_SERVER}/upload/${DATE}/${upload_filename}.md5 && \ - echo "successfully uploaded: ${upload_filename}" && \ - echo SUCCESS - ;; - esac + case $SYSTEM in + mingw*) + /c/cygwin/bin/sh -c \ + "rsync --archive --no-links --copy-links --chmod=a+r ${archive} rsync://${RSYNC_SERVER}/upload/${DATE}/${upload_filename}" && \ + md5sum ${archive} | sed "s|^\([0-9a-f][0-9a-f]* \).*|\1${archive}|" > ${archive}.md5 && \ + /c/cygwin/bin/sh -c \ + "rsync --archive --no-links --copy-links ${archive}.md5 rsync://${RSYNC_SERVER}/upload/${DATE}/${upload_filename}.md5" && \ + echo "successfully uploaded: ${upload_filename}" && \ + echo SUCCESS + ;; + *) + rsync -a --chmod=a+r ${archive} rsync://${RSYNC_SERVER}/upload/${DATE}/${upload_filename} && \ + md5sum ${archive} | sed "s|^\([0-9a-f][0-9a-f]* \).*|\1${archive}|" > ${archive}.md5 && \ + rsync -a ${archive}.md5 rsync://${RSYNC_SERVER}/upload/${DATE}/${upload_filename}.md5 && \ + echo "successfully uploaded: ${upload_filename}" && \ + echo SUCCESS + ;; + esac fi } case $SYSTEM in linux) - if [ -x /usr/bin/dpkg-deb ]; then - upload_build linux_make . deb - else - upload_build linux_make build tar.bz2 - fi - ;; + if [ -x /usr/bin/dpkg-deb ]; then + upload_build linux_make . deb + else + upload_build linux_make build tar.bz2 + fi + ;; darwin) - upload_build darwin_app . dmg - ;; + upload_build darwin_app . dmg + ;; mingw*) - upload_build win32_inno Output exe - upload_build win32_inno zip zip - ;; + upload_build win32_inno Output exe + upload_build win32_inno zip zip + ;; cygwin*) - upload_build win32_inno Output exe - ;; + upload_build win32_inno Output exe + ;; esac diff --git a/scripts/auto-build/pd-extended-source-tarball.sh b/scripts/auto-build/pd-extended-source-tarball.sh index bd51fa96..f82e2f60 100755 --- a/scripts/auto-build/pd-extended-source-tarball.sh +++ b/scripts/auto-build/pd-extended-source-tarball.sh @@ -11,7 +11,7 @@ rsync_file() file=$1 file_upload=$(basename $file) # if the rsync fails, ignore and carry on - (rsync -a ${file} rsync://${RSYNC_SERVER}/upload/${DATE}/${file_upload} && \ + (rsync -a ${file} rsync://${RSYNC_SERVER}/upload/${DATE}/${file_upload} && \ echo "successfully uploaded: ${file_upload}") || \ true } -- cgit v1.2.1