SOURCES: kernel-config.awk - check for garbage lines
sparky
sparky at pld-linux.org
Fri Sep 19 15:26:56 CEST 2008
Author: sparky Date: Fri Sep 19 13:26:56 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- check for garbage lines
---- Files affected:
SOURCES:
kernel-config.awk (1.7 -> 1.8)
---- Diffs:
================================================================
Index: SOURCES/kernel-config.awk
diff -u SOURCES/kernel-config.awk:1.7 SOURCES/kernel-config.awk:1.8
--- SOURCES/kernel-config.awk:1.7 Thu Sep 18 20:14:17 2008
+++ SOURCES/kernel-config.awk Fri Sep 19 15:26:50 2008
@@ -78,6 +78,12 @@
next
}
+!/^[A-Za-z0-9_]+(=|[ \t]+[A-Za-z0-9_-]+=)/ {
+ warn( "ERROR: Incorrect line: " $0 )
+ dieLater( 3 )
+ next
+}
+
!/^CONFIG_/ {
$0 = "CONFIG_" $0
}
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/kernel-config.awk?r1=1.7&r2=1.8&f=u
More information about the pld-cvs-commit
mailing list