[SCM] Debian Live build scripts branch, master, updated. 1.0.1-1-76-g4de79b6

Daniel Baumann daniel at debian.org
Mon Nov 3 11:16:01 UTC 2008


The following commit has been merged in the master branch:
commit d9f7f268da8b4bc29234a03429b0aff03d1143d2
Author: Daniel Baumann <daniel at debian.org>
Date:   Sat Nov 1 14:57:17 2008 +0100

    Generalizing internal LH_DEBUG variable.

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
diff --git a/helpers/lh_binary_debian-installer b/helpers/lh_binary_debian-installer
index 3ab6252..cac39c6 100755
--- a/helpers/lh_binary_debian-installer
+++ b/helpers/lh_binary_debian-installer
@@ -28,7 +28,7 @@ Arguments "${@}"
 Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
 Set_defaults
 
-if [ "${LH_DEBUG}" = "enabled" ]
+if [ "${_DEBUG}" = "enabled" ]
 then
 	WGET_OPTIONS="${WGET_OPTIONS} --verbose"
 elif [ "${LH_QUIET}" = "enabled" ]
diff --git a/helpers/lh_bootstrap_cdebootstrap b/helpers/lh_bootstrap_cdebootstrap
index 7b260b1..c2ab3f3 100755
--- a/helpers/lh_bootstrap_cdebootstrap
+++ b/helpers/lh_bootstrap_cdebootstrap
@@ -104,7 +104,7 @@ else
 	esac
 fi
 
-if [ "${LH_DEBUG}" = "enabled" ]
+if [ "${_DEBUG}" = "enabled" ]
 then
 	CDEBOOTSTRAP_OPTIONS="${CDEBOOTSTRAP_OPTIONS} --debug"
 fi
diff --git a/helpers/lh_config b/helpers/lh_config
index 492622b..31f9834 100755
--- a/helpers/lh_config
+++ b/helpers/lh_config
@@ -322,11 +322,6 @@ Local_arguments ()
 				shift
 				;;
 
-			--debug)
-				LH_DEBUG="enabled"
-				shift
-				;;
-
 			--quiet)
 				LH_QUIET="enabled"
 				shift
@@ -668,7 +663,7 @@ Local_arguments ()
 				;;
 
 			--debug)
-				LH_DEBUG="enabled"
+				_DEBUG="enabled"
 				shift
 				;;
 
@@ -853,9 +848,9 @@ LH_TEMPLATES="${LH_TEMPLATES}"
 # (Default: ${LH_BREAKPOINTS})
 #LH_BREAKPOINTS="${LH_BREAKPOINTS}"
 
-# \$LH_DEBUG: enable debug
-# (Default: ${LH_DEBUG})
-#LH_DEBUG="${LH_DEBUG}"
+# \$_DEBUG: enable debug
+# (Default: ${_DEBUG})
+#_DEBUG="${_DEBUG}"
 
 # \$_FORCE: enable force
 # (Default: ${_FORCE})

-- 
Debian Live build scripts



More information about the debian-live-changes mailing list