Hello community, here is the log from the commit of package yup checked in at Wed Sep 27 12:42:00 CEST 2006. -------- --- yup/yup.changes 2006-09-25 15:41:29.000000000 +0200 +++ /mounts/work_src_done/NOARCH/yup/yup.changes 2006-09-27 10:47:45.000000000 +0200 @@ -1,0 +2,6 @@ +Tue Sep 26 17:04:33 CEST 2006 - rdassen@novell.com + +- Propagate exit values for non-simple commands to really exit at errors. +- Use "yup" in the name of temp files. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yup.spec ++++++ --- /var/tmp/diff_new_pack.hYNzHi/_old 2006-09-27 12:41:46.000000000 +0200 +++ /var/tmp/diff_new_pack.hYNzHi/_new 2006-09-27 12:41:46.000000000 +0200 @@ -15,13 +15,13 @@ %define curl_name curl %define curl_version 7.15.5 BuildRequires: libidn-devel openssl-devel -License: GPL +License: MPL, GPL %else -License: GPL +License: MPL, GPL BuildArch: noarch %endif Version: 18 -Release: 1 +Release: 2 Summary: "Yum Update Proxy" for SLE 10 Maintenance Source0: yup.sh Source1: yup.sysconfig @@ -147,6 +147,9 @@ fi %changelog -n yup +* Tue Sep 26 2006 - rdassen@novell.com +- Propagate exit values for non-simple commands to really exit at errors. +- Use "yup" in the name of temp files. * Mon Sep 25 2006 - meissner@suse.de - some bugfixes. - build our own CURL (for Digest auth) for SLES 9. ++++++ yup.sh ++++++ --- yup/yup.sh 2006-09-25 15:15:47.000000000 +0200 +++ /mounts/work_src_done/NOARCH/yup/yup.sh 2006-09-27 10:47:16.000000000 +0200 @@ -35,11 +35,11 @@ # $Id: yup.sh 15 2006-09-19 13:14:20Z mge $ # -# Fail on errors. +# Fail on errors in simple commands. set -e # Obtain a temporary file which we will use to capture command output -TMPFILE=$(mktemp -t example.XXXXXXXXXX) +TMPFILE=$(mktemp -t yup.XXXXXXXXXX) if test "x$TMPFILE" = "x" ; then echo "Failed to create temp file" exit 1 @@ -197,7 +197,7 @@ test -d $dn || mkdir -p $dn test -f "$uri" || fetch_url "$bn/$uri" "$uri" echo $uri - done + done || exit $? # Download all the repo-md patches, cross check with SHA1 sum for changed ones. grep -E "(location.href|checksum.type..sha)" repodata/patches.xml| while read line ; do @@ -217,7 +217,7 @@ test -f "$uri" || fetch_url "$bn/$uri" "$uri" echo $uri fi - done + done || exit $? # Download all the patch and delta rpms mentioned in the patches. grep location.href repodata/patch-*.xml| while read line ; do @@ -226,10 +226,9 @@ test -d $dn || mkdir -p $dn test -f "$uri" || fetch_url "$bn/$uri" "$uri" echo $uri - done - - done -done + done || exit $? + done || exit $? +done || exit $? # # Finis Africae ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org