summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docsite/rst/guide_gce.rst2
-rwxr-xr-xhacking/env-setup2
2 files changed, 2 insertions, 2 deletions
diff --git a/docsite/rst/guide_gce.rst b/docsite/rst/guide_gce.rst
index 0cf413c58f..c0f90f13e2 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 59bc7c21f3..ffe6084075 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