From 26b893c327ef2dcdcc56a77eb294fb16331c466d Mon Sep 17 00:00:00 2001 From: "rhelmer%mozilla.com" Date: Tue, 1 Aug 2006 20:09:45 +0000 Subject: [PATCH] more error checking git-svn-id: svn://10.0.0.236/trunk@206315 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/testing/release/updates/verify_update.sh | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/mozilla/testing/release/updates/verify_update.sh b/mozilla/testing/release/updates/verify_update.sh index 90446b527d1..c0693d5ead0 100755 --- a/mozilla/testing/release/updates/verify_update.sh +++ b/mozilla/testing/release/updates/verify_update.sh @@ -20,10 +20,15 @@ check_update () { rm -rf target/* unpack_build $platform source "$source_package" + if [ "$?" != "0" ]; then + echo "FAILED: cannot unpack_build $platform source $source_package" + return 1 + fi unpack_build $platform target "$target_package" - - #mkdir update - #cp $update_package update/update.mar + if [ "$?" != "0" ]; then + echo "FAILED: cannot unpack_build $platform target $target_package" + return 1 + fi case $platform in mac|mac-ppc)