From: Michal Jarzabek Date: Sun, 10 Apr 2016 08:36:06 +0000 (+0100) Subject: check-generated.sh: can't source bash from sh X-Git-Tag: v10.1.2~2^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F8521%2Fhead;p=ceph.git check-generated.sh: can't source bash from sh 'source' is not sh command and executing bash commands in sh won't work. We could try to replace it with: '. ../qa/workunits/ceph-helpers.sh' but the above file uses bash. Signed-off-by: Michal Jarzabek --- diff --git a/src/test/encoding/check-generated.sh b/src/test/encoding/check-generated.sh index ee55fab0419e..c34fce8f4b45 100755 --- a/src/test/encoding/check-generated.sh +++ b/src/test/encoding/check-generated.sh @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/bash -e source ../qa/workunits/ceph-helpers.sh