diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2012-10-30 18:00:27 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2012-10-30 18:00:27 +0000 |
commit | f8f0cf8d4893c30b498ba30873b8cda02d75e587 (patch) | |
tree | b143698e2bc416cbb1fc14585507a6a21e38d04c /scripts | |
parent | 078a96953d751363fdb390499dd5c140cf604803 (diff) |
untabify again
svn path=/trunk/; revision=16494
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/auto-build/pd-extended-auto-builder.sh | 62 | ||||
-rwxr-xr-x | scripts/auto-build/pd-extended-source-tarball.sh | 2 |
2 files changed, 32 insertions, 32 deletions
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 } |