From: Yigang Wen Date: Tue, 25 Feb 2014 06:21:15 +0000 (+0800) Subject: Fix return true if build arch is not compatible X-Git-Tag: 0.12~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9f12d13736c1b14d4a0a4c5265042c18734f135a;p=tools%2Fdepanneur.git Fix return true if build arch is not compatible Fixes: #1494 Change-Id: Ieb6fc8dd0e9a2b001e9ded5f4ccc12a00fea13ff Signed-off-by: Yigang Wen --- diff --git a/depanneur b/depanneur index 1c5c05f..c676bad 100755 --- a/depanneur +++ b/depanneur @@ -1633,7 +1633,7 @@ sub build_report info("generated source RPM packages can be found from local repo:\n $srpm_repo_path"); info("build logs can be found in:\n $localrepo/$dist/$arch/logs"); info("build roots located in:\n $scratch_dir.*"); - if (%errors || %expansion_errors || @export_errors) { + if (%errors || %expansion_errors || @export_errors || $succeeded_packages == 0) { exit 1; }