summaryrefslogtreecommitdiff
path: root/git-hooks/qdoc-bot
diff options
context:
space:
mode:
authorSamuel Gaist <samuel.gaist@edeltech.ch>2014-12-16 09:54:05 +0100
committerOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2015-01-30 16:22:54 +0000
commit31ec5e5133517e4f15dc58862780e588049647ee (patch)
tree3dae8cb0d928e262fddd69c5ea53dd409ec669fb /git-hooks/qdoc-bot
parenteadd183ea9f96a63184bbb8c012b90382847283c (diff)
downloadqtrepotools-31ec5e5133517e4f15dc58862780e588049647ee.tar.gz
Unify the use of sh
Currently there's a mix between bash and sh in the scripts. This patch aims to unify the use of sh since there's no code involving bash specific features Change-Id: I30fdae59511b72910facf5e5be3bb9827f4f537c Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'git-hooks/qdoc-bot')
-rwxr-xr-xgit-hooks/qdoc-bot2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-hooks/qdoc-bot b/git-hooks/qdoc-bot
index 835ac55..2c272ab 100755
--- a/git-hooks/qdoc-bot
+++ b/git-hooks/qdoc-bot
@@ -93,7 +93,7 @@ def run_qdoc(module_name):
environment["QMAKEFLAGS"] = "CONFIG+=force_bootstrap"
for cmd in ["/bin/sh ./configure --opensource --confirm-license --release".split()
, "make sub-src-qmake_all".split()
- , ["/bin/bash", "-c", "if [ -f src/tools/Makefile ] ; then make -Csrc/tools sub-qdoc; else make -Csrc sub-qdoc ; fi"] # build qdoc
+ , ["/bin/sh", "-c", "if [ -f src/tools/Makefile ] ; then make -Csrc/tools sub-qdoc; else make -Csrc sub-qdoc ; fi"] # build qdoc
]:
logging.debug("Executing command: %s", cmd)
try: