diff --git a/load_secrets.sh b/load_secrets.sh index a4373e6..124d2f6 100644 --- a/load_secrets.sh +++ b/load_secrets.sh @@ -18,6 +18,6 @@ do KEY=$(echo $secret | grep -o "\w\+") VALUE=$(echo $secret | grep -oP '\w+\s*=\s*\K.*' | tr -d "\r") - sed -r "s/\{\{\s*$KEY\s*\}\}/$VALUE/g" $file + sed -i -r "s/\{\{\s*$KEY\s*\}\}/$VALUE/g" $file done done