SPECS: builder - for correct parsing (stdout in English)

charles charles at pld-linux.org
Wed Jun 4 02:58:21 CEST 2008


Author: charles                      Date: Wed Jun  4 00:58:20 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- for correct parsing (stdout in English)

---- Files affected:
SPECS:
   builder (1.559 -> 1.560) 

---- Diffs:

================================================================
Index: SPECS/builder
diff -u SPECS/builder:1.559 SPECS/builder:1.560
--- SPECS/builder:1.559	Wed May 28 10:02:14 2008
+++ SPECS/builder	Wed Jun  4 02:58:15 2008
@@ -1713,6 +1713,7 @@
 _rpm_prov_check()
 {
 	local DEPS
+	LANG=C
 
 	if [ $# -gt 0 ]; then
 		DEPS="$@"
@@ -1735,6 +1736,7 @@
 _rpm_cnfl_check()
 {
 	local DEPS
+	LANG=C
 
 	if [ $# -gt 0 ]; then
 		DEPS="$@"
@@ -1772,6 +1774,7 @@
 			update_shell_title "install deps: $DEPS"
 			echo "Trying to install dependencies ($DEPS):"
 			local log=.${SPECFILE}_poldek.log
+			LANG=C
 			$SU_SUDO /usr/bin/poldek --caplookup -uGqQ $DEPS | tee $log
 			failed=$(awk '/^error:/{a=$2; sub(/^error: /, "", a); sub(/:$/, "", a); print a}' $log)
 			rm -f $log
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/builder?r1=1.559&r2=1.560&f=u



More information about the pld-cvs-commit mailing list