Convert script shebangs from "#!/bin/bash" to "#!/usr/bin/env bash"

This is especially important for distributions like NixOS where `/bin/bash` doesn't exist, or for MacOS users who've installed a newer version of Bash than the one that comes with their OS.

Signed-off-by: Andrew "Tianon" Page <admwiggin@gmail.com>
This commit is contained in:
Tianon Gravi 2017-02-13 11:01:54 -08:00 committed by Tibor Vass
parent f2aab00321
commit e6a4e7507c
4 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# bash completion file for core docker commands
#

View File

@ -1029,7 +1029,7 @@ the final executable receives the Unix signals by using `exec` and `gosu`
commands:
```bash
#!/bin/bash
#!/usr/bin/env bash
set -e
if [ "$1" = 'postgres' ]; then

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# Generate man pages for docker/docker
#

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
# get into this script's directory