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>
Upstream-commit: e6a4e7507c
Component: cli
This commit is contained in:
Tianon Gravi
2017-06-02 00:10:54 +00:00
committed by Tibor Vass
parent f742188241
commit b62be1dbab
4 changed files with 4 additions and 4 deletions
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# bash completion file for core docker commands
#
+1 -1
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
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# Generate man pages for docker/docker
#
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
# get into this script's directory