Use /usr/bin/env bash shebang

On FreeBSD bash is installed in /usr/local/bin; this patch
alters the shebang to use /usr/bin/env bash instead, to ensure
that the shell scripts work on (particularly) the *BSDs as well.
This commit is contained in:
Stefan Tatschner
2016-02-17 15:53:11 +01:00
parent f6e6c1f173
commit 1561e9fc6d
3 changed files with 3 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
########################################################
# This is the main config file for letsencrypt.sh #

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
function deploy_challenge {
local DOMAIN="${1}" TOKEN_FILENAME="${2}" TOKEN_VALUE="${3}"

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Fail early
set -eu -o pipefail