Update of /cvsroot/pure-data/scripts/auto-build In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22908
Modified Files: pd-devel-auto-builder.sh pd-extended-auto-builder.sh pd-main-auto-builder.sh Log Message: 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
Index: pd-main-auto-builder.sh =================================================================== RCS file: /cvsroot/pure-data/scripts/auto-build/pd-main-auto-builder.sh,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** pd-main-auto-builder.sh 8 Aug 2006 03:48:54 -0000 1.4 --- pd-main-auto-builder.sh 8 Aug 2006 15:36:27 -0000 1.5 *************** *** 44,48 **** cd ../../ && \ tar cjf $package_name pd && \ ! rsync -a ${package_name} rsync://128.238.56.50/upload/${DATE}/ rm -f -- $package_name
--- 44,49 ---- cd ../../ && \ tar cjf $package_name pd && \ ! rsync -a ${package_name} rsync://128.238.56.50/upload/${DATE}/ && \ ! echo SUCCESS rm -f -- $package_name
Index: pd-devel-auto-builder.sh =================================================================== RCS file: /cvsroot/pure-data/scripts/auto-build/pd-devel-auto-builder.sh,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** pd-devel-auto-builder.sh 3 Aug 2006 05:15:43 -0000 1.1 --- pd-devel-auto-builder.sh 8 Aug 2006 15:36:27 -0000 1.2 *************** *** 3,4 **** --- 3,6 ---- echo "This currently does nothing, but it could..."
+ # if the below word prints, the status report email is not sent + echo SUCCESS
Index: pd-extended-auto-builder.sh =================================================================== RCS file: /cvsroot/pure-data/scripts/auto-build/pd-extended-auto-builder.sh,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** pd-extended-auto-builder.sh 8 Aug 2006 03:27:09 -0000 1.3 --- pd-extended-auto-builder.sh 8 Aug 2006 15:36:27 -0000 1.4 *************** *** 40,50 **** build_folder=$2 archive_format=$3
! 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}|"` }
--- 40,50 ---- build_folder=$2 archive_format=$3 + + archive="${auto_build_root_dir}/packages/${platform_folder}/${build_folder}/Pd*.${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 }