From 776a7b22271178949bf6f2676e26eefb6144ce11 Mon Sep 17 00:00:00 2001
From: Daniel Baumann <daniel@debian.org>
Date: Sat, 1 Nov 2008 15:10:34 +0100
Subject: Generalizing internal LH_BREAKPOINTS variable.

---
 functions/arguments.sh   |  2 +-
 functions/breakpoints.sh |  2 +-
 functions/defaults.sh    |  2 +-
 helpers/lh_config        | 13 ++++---------
 4 files changed, 7 insertions(+), 12 deletions(-)

diff --git a/functions/arguments.sh b/functions/arguments.sh
index 3d0d869..70f397c 100755
--- a/functions/arguments.sh
+++ b/functions/arguments.sh
@@ -23,7 +23,7 @@ Arguments ()
 	do
 		case "${1}" in
 			--breakpoints)
-				LH_BREAKPOINTS="enabled"
+				_BREAKPOINTS="enabled"
 				shift
 				;;
 
diff --git a/functions/breakpoints.sh b/functions/breakpoints.sh
index feaaea7..1e4fdb2 100755
--- a/functions/breakpoints.sh
+++ b/functions/breakpoints.sh
@@ -11,7 +11,7 @@ Breakpoint ()
 {
 	NAME="${1}"
 
-	if [ "${LH_BREAKPOINTS}" = "enabled" ]
+	if [ "${_BREAKPOINTS}" = "enabled" ]
 	then
 		Echo_message "Waiting at %s" "${NAME}"
 		read WAIT
diff --git a/functions/defaults.sh b/functions/defaults.sh
index 281bed4..4592d21 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -220,7 +220,7 @@ Set_defaults ()
 	fi
 
 	# Setting live helper options
-	LH_BREAKPOINTS="${LH_BREAKPOINTS:-disabled}"
+	_BREAKPOINTS="${_BREAKPOINTS:-disabled}"
 	_DEBUG="${_DEBUG:-disabled}"
 	_FORCE="${_FORCE:-disabled}"
 	_QUIET="${_QUIET:-disabled}"
diff --git a/helpers/lh_config b/helpers/lh_config
index 480f3f3..5911a91 100755
--- a/helpers/lh_config
+++ b/helpers/lh_config
@@ -317,11 +317,6 @@ Local_arguments ()
 				shift 2
 				;;
 
-			--breakpoints)
-				LH_BREAKPOINTS="enabled"
-				shift
-				;;
-
 			-v|--version)
 				Version
 				shift
@@ -643,7 +638,7 @@ Local_arguments ()
 
 			# other
 			--breakpoints)
-				LH_BREAKPOINTS="enabled"
+				_BREAKPOINTS="enabled"
 				shift
 				;;
 
@@ -834,9 +829,9 @@ LH_TEMPLATES="${LH_TEMPLATES}"
 
 # Live-helper options
 
-# \$LH_BREAKPOINTS: enable breakpoints
-# (Default: ${LH_BREAKPOINTS})
-#LH_BREAKPOINTS="${LH_BREAKPOINTS}"
+# \$_BREAKPOINTS: enable breakpoints
+# (Default: ${_BREAKPOINTS})
+#_BREAKPOINTS="${_BREAKPOINTS}"
 
 # \$_DEBUG: enable debug
 # (Default: ${_DEBUG})
-- 
cgit v1.0