diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2006-08-08 15:36:27 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2006-08-08 15:36:27 +0000 |
commit | e7152bc9308af397f54be36106bd654bea8c2464 (patch) | |
tree | ece90aa5fc730cde8ed27e07b5d89bbab4e1d95c /scripts/auto-build/pd-extended-auto-builder.sh | |
parent | b967b3e69b2d952f9f7d628ac0d23ace3c0f1761 (diff) |
added a final line that echos to the logfile to test whether the build was succeeded. if it succeeded, then the status report email is not sent
svn path=/trunk/; revision=5512
Diffstat (limited to 'scripts/auto-build/pd-extended-auto-builder.sh')
-rwxr-xr-x | scripts/auto-build/pd-extended-auto-builder.sh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/auto-build/pd-extended-auto-builder.sh b/scripts/auto-build/pd-extended-auto-builder.sh index 8a5746a2..5d918e98 100755 --- a/scripts/auto-build/pd-extended-auto-builder.sh +++ b/scripts/auto-build/pd-extended-auto-builder.sh @@ -39,13 +39,13 @@ upload_build () platform_folder=$1 build_folder=$2 archive_format=$3 + + archive="${auto_build_root_dir}/packages/${platform_folder}/${build_folder}/Pd*.${archive_format}" - echo "Uploading $1 $2 $3" -# upload files to webpage - echo ${auto_build_root_dir}/packages/${platform_folder}/${build_folder}/Pd*.${archive_format} - test -e ${auto_build_root_dir}/packages/${platform_folder}/${build_folder}/Pd*.${archive_format} && \ - rsync -a ${auto_build_root_dir}/packages/${platform_folder}/${build_folder}/Pd*.${archive_format} \ - rsync://128.238.56.50/upload/${DATE}/`ls -1 ${auto_build_root_dir}/packages/${platform_folder}/${build_folder}/Pd*.${archive_format} | sed "s|.*/\(.*\)\.${archive_format}|\1-${HOSTNAME}.${archive_format}|"` + echo "upload specs $1 $2 $3" + echo "Uploading $archive" + test -e ${archive} && rsync -a ${archive} \ + rsync://128.238.56.50/upload/${DATE}/`ls -1 ${archive} | sed "s|.*/\(.*\)\.${archive_format}|\1-${HOSTNAME}.${archive_format}|"` && echo SUCCESS } if [ "$SYSTEM" == "Linux" ]; then |