From 31c852337138f8aadf17998f04f84e4487dee000 Mon Sep 17 00:00:00 2001 From: Marco Ippolito Date: Mon, 17 Nov 2014 22:23:18 +0100 Subject: [PATCH] Updated shebang from #!/bin/bash to #!/usr/bin/env bash (more flexible) --- docsite/rst/guide_gce.rst | 2 +- hacking/env-setup | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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