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 /mirroring/mirror-ceph.sh | |
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 'mirroring/mirror-ceph.sh')
-rwxr-xr-x | mirroring/mirror-ceph.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mirroring/mirror-ceph.sh b/mirroring/mirror-ceph.sh index ef80a63f93e..49bafad4255 100755 --- a/mirroring/mirror-ceph.sh +++ b/mirroring/mirror-ceph.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -e # # Script to mirror Ceph locally |