diff --git a/Build/AtlasBuildScripts/build_Gaudi.sh b/Build/AtlasBuildScripts/build_Gaudi.sh index 5138e9acea22039edfe8500352efff77fcc76d19..71c8fc25bbbf9b78f33c719dd7a8770738b8b12b 100755 --- a/Build/AtlasBuildScripts/build_Gaudi.sh +++ b/Build/AtlasBuildScripts/build_Gaudi.sh @@ -107,4 +107,8 @@ cpack || ((ERROR_COUNT++)) mkdir -p ${RPMDIR} || ((ERROR_COUNT++)) cp GAUDI*.rpm ${RPMDIR} || ((ERROR_COUNT++)) +if [ $ERROR_COUNT -ne 0 ]; then + echo "Gaudi build script counted $ERROR_COUNT errors" +fi + exit ${ERROR_COUNT} diff --git a/Build/AtlasBuildScripts/build_atlasexternals.sh b/Build/AtlasBuildScripts/build_atlasexternals.sh index 3848ef0025fe16301a5b4cffd060c333400bb776..255698264ccfc79a6ff0198513a7fbd80546195a 100755 --- a/Build/AtlasBuildScripts/build_atlasexternals.sh +++ b/Build/AtlasBuildScripts/build_atlasexternals.sh @@ -98,7 +98,11 @@ fi # Build the RPM or other package for the project: cpack || ((ERROR_COUNT++)) mkdir -p ${RPMDIR} || ((ERROR_COUNT++)) -FILES=$(ls ${PROJECT}*.rpm ${PROJECT}*.tar.gz ${PROJECT}*.dmg) +FILES=$(ls ${PROJECT}*.rpm ${PROJECT}*.tar.gz ${PROJECT}*.dmg 2> /dev/null) cp ${FILES} ${RPMDIR} || ((ERROR_COUNT++)) +if [ $ERROR_COUNT -ne 0 ]; then + echo "AtlasExternals build script counted $ERROR_COUNT errors" +fi + exit ${ERROR_COUNT}