From fde866c15ba06e8bf51f5a3be623e9666672f9e4 Mon Sep 17 00:00:00 2001 From: Tobias von der Krone Date: Mon, 14 Oct 2013 12:51:20 +0200 Subject: [PATCH] debian_build.py: correct build_failed --- debian_build.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian_build.py b/debian_build.py index 3147810..12df0c2 100755 --- a/debian_build.py +++ b/debian_build.py @@ -520,7 +520,7 @@ export {gbp_env} FORCE_SHELL=TRUE # .. and finally handle the result if ret: - build_failed = False + build_failed = True logger.error('git-buildpackage failed with exitcode {code}'.format(code=ret)) figlet('Build failed') failed_message = 'package build has failed' @@ -531,7 +531,7 @@ export {gbp_env} FORCE_SHELL=TRUE do_uploads = False no_uploads_cause = failed_message else: - build_failed = True + build_failed = False figlet('Build OK') # -- 2.39.5