]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
check-generated.sh: can't source bash from sh 8521/head
authorMichal Jarzabek <stiopa@gmail.com>
Sun, 10 Apr 2016 08:36:06 +0000 (09:36 +0100)
committerMichal Jarzabek <stiopa@gmail.com>
Sun, 10 Apr 2016 08:51:26 +0000 (09:51 +0100)
'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 <stiopa@gmail.com>
src/test/encoding/check-generated.sh

index ee55fab0419e5cc994a56b116607ae72bd8aae0b..c34fce8f4b45b1a742b5957510b07e84cce5137d 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/sh -e
+#!/bin/bash -e
 
 source ../qa/workunits/ceph-helpers.sh