]> git.pld-linux.org Git - projects/geninitrd.git/commitdiff
LC_ALL=C for lspci call in case if someone translates things.
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 26 Oct 2011 19:58:54 +0000 (19:58 +0000)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 26 Oct 2011 19:58:54 +0000 (19:58 +0000)
svn-id: @12393

functions

index 63044bc27f394496be83a5154fa1f221fb861527..5662cfdaa9bc7d464f9ae096d3792d2ddc339d56 100644 (file)
--- a/functions
+++ b/functions
@@ -189,7 +189,7 @@ find_modules_by_class() {
                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 } }
This page took 0.127555 seconds and 4 git commands to generate.