SVN: geninitrd/trunk/functions

arekm arekm at pld-linux.org
Wed Oct 26 21:58:54 CEST 2011


Author: arekm
Date: Wed Oct 26 21:58:54 2011
New Revision: 12393

Modified:
   geninitrd/trunk/functions
Log:
LC_ALL=C for lspci call in case if someone translates things.

Modified: geninitrd/trunk/functions
==============================================================================
--- geninitrd/trunk/functions	(original)
+++ geninitrd/trunk/functions	Wed Oct 26 21:58:54 2011
@@ -189,7 +189,7 @@
 		return
 	fi
 
-	lspci -p "$pcimap" -kvmmn | awk -vreq_class="${req_class}" '
+	LC_ALL=C lspci -p "$pcimap" -kvmmn | awk -vreq_class="${req_class}" '
 					BEGIN      { skip_modules[1]=""; modules[1]=""; xhci=""; ehci=""; ohci=""; uhci="" }
 					/^Slot:/   { found=0 }
 					/^Class:/  { if (req_class == $2) { found=1 } }


More information about the pld-cvs-commit mailing list