From 4cfe9583da2a1e615555b60507e138a044f43bb4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C4=99drzej=20Nowacki?= <jedrzej.nowacki@digia.com>
Date: Thu, 8 Nov 2012 12:17:02 +0100
Subject: [PATCH] Report build failure by qdoc bot.

Change-Id: I1a88ac25571ad0e23672098dc03c2bb85062f390
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
---
 git-hooks/qdoc-bot.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/git-hooks/qdoc-bot.py b/git-hooks/qdoc-bot.py
index 7693138..c9f6866 100755
--- a/git-hooks/qdoc-bot.py
+++ b/git-hooks/qdoc-bot.py
@@ -71,7 +71,7 @@ def run_qdoc(module_name):
         environment["CCACHE_BASEDIR"] =  os.getcwd()
         environment["QT_HASH_SEED"] = "1234"
         cmd = "(./configure -opensource -confirm-license -release && make sub-src-qmake_all && cd src/tools && make sub-qdoc) > /dev/null"
-        subprocess.call(cmd, shell=True, env=environment)
+        subprocess.check_call(cmd, shell=True, env=environment)
         cmd = "make docs".split()
         output.append(subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, env=environment).communicate()[1])
         def smart_concatenate(r, x):
-- 
GitLab