mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-04-24 17:28:29 +02:00
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:
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
########################################################
|
########################################################
|
||||||
# This is the main config file for letsencrypt.sh #
|
# This is the main config file for letsencrypt.sh #
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
function deploy_challenge {
|
function deploy_challenge {
|
||||||
local DOMAIN="${1}" TOKEN_FILENAME="${2}" TOKEN_VALUE="${3}"
|
local DOMAIN="${1}" TOKEN_FILENAME="${2}" TOKEN_VALUE="${3}"
|
||||||
|
|||||||
Reference in New Issue
Block a user