]> git.pld-linux.org Git - packages/kernel.git/commitdiff
- check for garbage lines
authorsparky <sparky@pld-linux.org>
Fri, 19 Sep 2008 13:26:50 +0000 (13:26 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    kernel-config.awk -> 1.8

kernel-config.awk

index 1a165fafe645993a4c4c5f3c18b710052c04bc88..02fa83be1560f3c3ffa7eef4072fa65e510353d0 100644 (file)
@@ -78,6 +78,12 @@ function dieLater( code ) {
        next
 }
 
+!/^[A-Za-z0-9_]+(=|[ \t]+[A-Za-z0-9_-]+=)/ {
+       warn( "ERROR: Incorrect line: " $0 )
+       dieLater( 3 )
+       next
+}
+
 !/^CONFIG_/ {
        $0 = "CONFIG_" $0
 }
This page took 0.966646 seconds and 4 git commands to generate.