use BITNAMI_DEBUG te enable bash script debugging

This commit is contained in:
Sverre Boschman
2019-12-13 10:45:12 +01:00
parent b4f3323dca
commit de6f9bcf03
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: etcd
version: 4.4.5
version: 4.4.6
appVersion: 3.4.3
description: etcd is a distributed key value store that provides a reliable way to store data across a cluster of machines
keywords:
@@ -27,7 +27,7 @@ data:
exec 3>&1
exec 4>&2
if [ ${BASH_DEBUG:-0} -eq 1 ]; then
if [ "${BITNAMI_DEBUG}" = true ]; then
echo "==> Bash debug is on"
else
echo "==> Bash debug is off"
@@ -190,7 +190,7 @@ data:
exec 3>&1
exec 4>&2
if [ ${BASH_DEBUG:-0} -eq 1 ]; then
if [ "${BITNAMI_DEBUG}" = true ]; then
echo "==> Bash debug is on"
else
echo "==> Bash debug is off"
@@ -216,7 +216,7 @@ data:
exec 3>&1
exec 4>&2
if [ ${BASH_DEBUG:-0} -eq 1 ]; then
if [ "${BITNAMI_DEBUG}" = true ]; then
echo "==> Bash debug is on"
else
echo "==> Bash debug is off"
@@ -242,7 +242,7 @@ data:
exec 3>&1
exec 4>&2
if [ ${BASH_DEBUG:-0} -eq 1 ]; then
if [ "${BITNAMI_DEBUG}" = true ]; then
echo "==> Bash debug is on"
else
echo "==> Bash debug is off"