From 3ff1c8050b9e32837fcaad6fbc4e9981f9cbdffd Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 1 Nov 2008 14:57:17 +0100 Subject: Generalizing internal LH_DEBUG variable. --- functions/arguments.sh | 2 +- functions/defaults.sh | 2 +- functions/echo.sh | 2 +- functions/exit.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'functions') diff --git a/functions/arguments.sh b/functions/arguments.sh index 6c967d9c8..80851d37e 100755 --- a/functions/arguments.sh +++ b/functions/arguments.sh @@ -33,7 +33,7 @@ Arguments () ;; --debug) - LH_DEBUG="enabled" + _DEBUG="enabled" shift ;; diff --git a/functions/defaults.sh b/functions/defaults.sh index e8e9f36a3..97917ad33 100755 --- a/functions/defaults.sh +++ b/functions/defaults.sh @@ -221,7 +221,7 @@ Set_defaults () # Setting live helper options LH_BREAKPOINTS="${LH_BREAKPOINTS:-disabled}" - LH_DEBUG="${LH_DEBUG:-disabled}" + _DEBUG="${_DEBUG:-disabled}" _FORCE="${_FORCE:-disabled}" LH_QUIET="${LH_QUIET:-disabled}" LH_VERBOSE="${LH_VERBOSE:-disabled}" diff --git a/functions/echo.sh b/functions/echo.sh index 034aab49a..d9a699d88 100755 --- a/functions/echo.sh +++ b/functions/echo.sh @@ -25,7 +25,7 @@ Echo_debug () STRING="${1}" shift - if [ "${LH_DEBUG}" = "enabled" ] + if [ "${_DEBUG}" = "enabled" ] then if [ "${_L10N}" = "false" ] then diff --git a/functions/exit.sh b/functions/exit.sh index e7e7b1115..18bc1eb6a 100755 --- a/functions/exit.sh +++ b/functions/exit.sh @@ -9,7 +9,7 @@ Exit () { - if [ "${LH_DEBUG}" = "enabled" ] + if [ "${_DEBUG}" = "enabled" ] then # Dump variables set | grep -e ^LH -- cgit v1.2.3