diff --git a/docsite/rst/guide_gce.rst b/docsite/rst/guide_gce.rst index 0cf413c58f1..c0f90f13e26 100644 --- a/docsite/rst/guide_gce.rst +++ b/docsite/rst/guide_gce.rst @@ -133,7 +133,7 @@ For the following use case, let's use this small shell script as a wrapper. .. code-block:: bash - #!/bin/bash + #!/usr/bin/env bash PLAYBOOK="$1" if [[ -z $PLAYBOOK ]]; then diff --git a/hacking/env-setup b/hacking/env-setup index 59bc7c21f33..ffe60840758 100755 --- a/hacking/env-setup +++ b/hacking/env-setup @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # usage: source ./hacking/env-setup [-q] # modifies environment for running Ansible from checkout