diff options
author | Daniel Baumann <daniel@debian.org> | 2008-11-01 14:57:17 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:03:43 +0100 |
commit | 3ff1c8050b9e32837fcaad6fbc4e9981f9cbdffd (patch) | |
tree | 91f2b97d1a78d65fa052c1a051c541f8b1ccd877 /functions | |
parent | 137f573c859d7b60192fbee65a418cf6c75acca2 (diff) | |
download | live-build-3ff1c8050b9e32837fcaad6fbc4e9981f9cbdffd.zip live-build-3ff1c8050b9e32837fcaad6fbc4e9981f9cbdffd.tar.gz |
Generalizing internal LH_DEBUG variable.
Diffstat (limited to 'functions')
-rwxr-xr-x | functions/arguments.sh | 2 | ||||
-rwxr-xr-x | functions/defaults.sh | 2 | ||||
-rwxr-xr-x | functions/echo.sh | 2 | ||||
-rwxr-xr-x | functions/exit.sh | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/functions/arguments.sh b/functions/arguments.sh index 6c967d9..80851d3 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 e8e9f36..97917ad 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 034aab4..d9a699d 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 e7e7b11..18bc1eb 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 |