diff options
author | Alan Somers <asomers@gmail.com> | 2017-07-21 00:26:42 +0200 |
---|---|---|
committer | Alan Somers <asomers@gmail.com> | 2017-07-27 21:24:26 +0200 |
commit | 3aae5ca6fda8b07ef875ae47c1b620aa3e2cdcd9 (patch) | |
tree | 27a9e5545e6b00fccdbe2fa374043141919e919d /qa/mds | |
parent | Merge pull request #16452 from wjwithagen/wjw-warning-unused (diff) | |
download | ceph-3aae5ca6fda8b07ef875ae47c1b620aa3e2cdcd9.tar.xz ceph-3aae5ca6fda8b07ef875ae47c1b620aa3e2cdcd9.zip |
scripts: fix bash path in shebangs
/bin/bash is a Linuxism. Other operating systems install bash to
different paths. Use /usr/bin/env in shebangs to find bash.
Signed-off-by: Alan Somers <asomers@gmail.com>
Diffstat (limited to 'qa/mds')
-rwxr-xr-x | qa/mds/test_anchortable.sh | 3 | ||||
-rwxr-xr-x | qa/mds/test_mdstable_failures.sh | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/qa/mds/test_anchortable.sh b/qa/mds/test_anchortable.sh index 56be0fb56a0..1bf2494de18 100755 --- a/qa/mds/test_anchortable.sh +++ b/qa/mds/test_anchortable.sh @@ -1,4 +1,5 @@ -#!/bin/bash -x +#!/usr/bin/env bash +set -x mkdir links for f in `seq 1 8` diff --git a/qa/mds/test_mdstable_failures.sh b/qa/mds/test_mdstable_failures.sh index b5f80791572..c959995cf25 100755 --- a/qa/mds/test_mdstable_failures.sh +++ b/qa/mds/test_mdstable_failures.sh @@ -1,4 +1,5 @@ -#!/bin/bash -x +#!/usr/bin/env bash +set -x for f in `seq 1 8` do |