From face43080f33f1b88f24967713233e0e2be060a0 Mon Sep 17 00:00:00 2001 From: Michael Andres Date: Mon, 18 Feb 2008 11:19:08 +0000 Subject: [PATCH] return error, if *2solv helpers do --- tools/repo2solv.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/repo2solv.sh b/tools/repo2solv.sh index aeebf7b..651ff49 100755 --- a/tools/repo2solv.sh +++ b/tools/repo2solv.sh @@ -27,7 +27,7 @@ if test -d repodata; then if test -n "$cmd"; then # we have some primary.xml* primfile=`mktemp` || exit 3 - $cmd $i | rpmmd2solv $parser_options > $primfile + $cmd $i | rpmmd2solv $parser_options > $primfile || exit 4 fi patchfile="/nonexist" @@ -43,7 +43,7 @@ if test -d repodata; then esac done echo '' - ) | grep -v '\?xml' | patchxml2solv $parser_options > $patchfile + ) | grep -v '\?xml' | patchxml2solv $parser_options > $patchfile || exit 4 fi # Now merge primary and patches @@ -91,7 +91,7 @@ elif test -d suse/setup/descr && test -s content; then esac done fi - ) | susetags2solv -c "${olddir}/content" $parser_options + ) | susetags2solv -c "${olddir}/content" $parser_options || exit 4 cd "$olddir" else exit 1 -- 2.7.4