[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 2d37ccad88d99324e64e85672223ef12f7e3aa09
Author: Daniel Baumann <daniel at debian.org>
Date:   Sat Nov 1 14:52:35 2008 +0100

    Generalizing internal LH_L10N variable.

diff --git a/functions/echo.sh b/functions/echo.sh
index 93875ea..034aab4 100755
--- a/functions/echo.sh
+++ b/functions/echo.sh
@@ -12,7 +12,7 @@ Echo ()
 	STRING="${1}"
 	shift
 
-	if [ "${LH_L10N}" = "false" ]
+	if [ "${_L10N}" = "false" ]
 	then
 		printf "${STRING}\n"
 	else
@@ -27,7 +27,7 @@ Echo_debug ()
 
 	if [ "${LH_DEBUG}" = "enabled" ]
 	then
-		if [ "${LH_L10N}" = "false" ]
+		if [ "${_L10N}" = "false" ]
 		then
 			printf "D: ${STRING}\n"
 		else
@@ -41,7 +41,7 @@ Echo_error ()
 	STRING="${1}"
 	shift
 
-	if [ "${LH_L10N}" = "false" ]
+	if [ "${_L10N}" = "false" ]
 	then
 		printf "E: ${STRING}\n" >&2
 	else
@@ -56,7 +56,7 @@ Echo_message ()
 
 	if [ "${LH_QUIET}" != "enabled" ]
 	then
-		if [ "${LH_L10N}" = "false" ]
+		if [ "${_L10N}" = "false" ]
 		then
 			printf "P: ${STRING}\n"
 		else
@@ -72,7 +72,7 @@ Echo_verbose ()
 
 	if [ "${LH_VERBOSE}" = "enabled" ]
 	then
-		if [ "${LH_L10N}" = "false" ]
+		if [ "${_L10N}" = "false" ]
 		then
 			printf "I: ${STRING}\n"
 		else
@@ -86,7 +86,7 @@ Echo_warning ()
 	STRING="${1}"
 	shift
 
-	if [ "${LH_L10N}" = "false" ]
+	if [ "${_L10N}" = "false" ]
 	then
 		printf "W: ${STRING}\n"
 	else
diff --git a/functions/l10n.sh b/functions/l10n.sh
index dded7d2..1e14988 100755
--- a/functions/l10n.sh
+++ b/functions/l10n.sh
@@ -9,7 +9,7 @@
 
 if [ -x "$(which gettext.sh 2>/dev/null)" ]
 then
-	LH_L10N="enabled"
+	_L10N="enabled"
 
 	# gettext domain (.mo file name)
 	TEXTDOMAIN="${PROGRAM}"
@@ -22,5 +22,5 @@ then
 	# load gettext functions
 	. gettext.sh
 else
-	LH_L10N="disabled"
+	_L10N="disabled"
 fi

-- 
Debian Live build scripts



More information about the debian-live-changes mailing list