Author: oxygene
Date: Thu Nov 18 15:33:02 2010
New Revision: 6090
URL: https://tracker.coreboot.org/trac/coreboot/changeset/6090

Log:
Set locale to POSIX to avoid problems with invalid 8bit character
sequences.
Increase scanning speed.

Signed-off-by: Patrick Georgi <[email protected]>
Acked-by: Patrick Georgi <[email protected]>

Modified:
   trunk/util/lint/lint-001-no-global-config-in-romstage

Modified: trunk/util/lint/lint-001-no-global-config-in-romstage
==============================================================================
--- trunk/util/lint/lint-001-no-global-config-in-romstage       Thu Nov 18 
12:36:16 2010        (r6089)
+++ trunk/util/lint/lint-001-no-global-config-in-romstage       Thu Nov 18 
15:33:02 2010        (r6090)
@@ -1,7 +1,8 @@
 #!/bin/sh
 DEFINES=`grep "#define" src/mainboard/*/*/romstage.c |sed 's,.*#define[\t 
]\([^\t ]*\)[\t ].*,\1,' | grep -v "(" | sort -u`
 SCANBUCKET=`mktemp`
-find src -name .svn -type d -prune -o -name mainboard -type d -prune -o -name 
examples -type d -prune -o -type f -exec sed -f `dirname $0`/remccoms3.sed {} + 
> $SCANBUCKET
+LC_ALL=C export LC_ALL
+find src -name .svn -type d -prune -o -name mainboard -type d -prune -o -name 
examples -type d -prune -o -type f -exec sed -nf `dirname $0`/remccoms3.sed {} 
+ > $SCANBUCKET
  
 for define in $DEFINES; do
        if [ `egrep -c 
"([^_A-Za-z0-9]$define[^_A-Za-z0-9]|^$define[^_A-Za-z0-9]|[^_A-Za-z0-9]$define\$)"
 $SCANBUCKET` -gt 0 ]; then

-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to