summaryrefslogtreecommitdiffstats
path: root/src/test/test_pidfile.sh
diff options
context:
space:
mode:
authorAlan Somers <asomers@gmail.com>2017-07-21 00:26:42 +0200
committerAlan Somers <asomers@gmail.com>2017-07-27 21:24:26 +0200
commit3aae5ca6fda8b07ef875ae47c1b620aa3e2cdcd9 (patch)
tree27a9e5545e6b00fccdbe2fa374043141919e919d /src/test/test_pidfile.sh
parentMerge pull request #16452 from wjwithagen/wjw-warning-unused (diff)
downloadceph-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 'src/test/test_pidfile.sh')
-rwxr-xr-xsrc/test/test_pidfile.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_pidfile.sh b/src/test/test_pidfile.sh
index b76fa9b64a6..424e274866d 100755
--- a/src/test/test_pidfile.sh
+++ b/src/test/test_pidfile.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
#
# test pidfile here