From 31ec5e5133517e4f15dc58862780e588049647ee Mon Sep 17 00:00:00 2001
From: Samuel Gaist <samuel.gaist@edeltech.ch>
Date: Tue, 16 Dec 2014 09:54:05 +0100
Subject: [PATCH] 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>
---
 git-hooks/qdoc-bot             | 2 +-
 git-hooks/qt-codereview-mirror | 2 +-
 2 files changed, 2 insertions(+), 2 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:
diff --git a/git-hooks/qt-codereview-mirror b/git-hooks/qt-codereview-mirror
index 425ae34..ad8f5ac 100755
--- a/git-hooks/qt-codereview-mirror
+++ b/git-hooks/qt-codereview-mirror
@@ -1,4 +1,4 @@
-#! /bin/bash
+#!/bin/sh
 # Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
 # Contact: http://www.qt-project.org/legal
 #
-- 
GitLab