diff --git a/macosx/BuildBot/03_upload.sh b/macosx/BuildBot/03_upload.sh index 5f41fc59f..1ca64fb2e 100755 --- a/macosx/BuildBot/03_upload.sh +++ b/macosx/BuildBot/03_upload.sh @@ -26,18 +26,23 @@ bran="-${rtag}" # Upload the dSYM bundle -if ! scp -pql 320 ${lpth}${dmg_bn}${tar_dS} ${uurl}:${rpth}${opth}${dmg_bn}${bran}${revt}${tar_dS}; then +echo "Starting to upload the dSYM bundle." +if ! scp -pqCl 320 ${lpth}${dmg_bn}${tar_dS} ${uurl}:${rpth}${opth}${dmg_bn}${bran}${revt}${tar_dS}; then + echo "error: Upload did not complete!" exit ${?} fi # Upload the .dmg -if ! scp -pql 320 ${lpth}${dmg_bn}${dmg_nv} ${uurl}:${rpth}${opth}${dmg_bn}${bran}${revt}.dmg; then +echo "Starting to upload the dmg image." +if ! scp -pqCl 320 ${lpth}${dmg_bn}${dmg_nv} ${uurl}:${rpth}${opth}${dmg_bn}${bran}${revt}.dmg; then + echo "error: Upload did not complete!" exit ${?} fi # Link up the current .dmg and dSYM bundle if ! ssh ${uurl} -C "cd ${rpth} && ln -fs ${opth}${dmg_bn}${bran}${revt}.dmg ${dmg_bn}${bran}-current.dmg && ln -fs ${opth}${dmg_bn}${bran}${revt}${tar_dS} ${dmg_bn}${bran}-current${tar_dS}"; then + echo "error: Failed to link!" exit ${?} fi