Fix environment variable for setting crowdsec bouncer, was broken due to slashes in path.
This commit is contained in:
parent
82d2476855
commit
3a22a0c09c
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
||||||
set -e # Exit immediately if a command exits with a non-zero status.
|
set -e # Exit immediately if a command exits with a non-zero status.
|
||||||
|
|
||||||
function set_properties() {
|
function set_properties() {
|
||||||
sed -i "s/^$1=.*/$1=$2/" "${3}"
|
sed -i "s,^$1=.*,$1=$2,g" "${3}"
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "Deploy Crowdsec Openresty Bouncer.."
|
echo "Deploy Crowdsec Openresty Bouncer.."
|
||||||
|
|
Loading…
Reference in a new issue