SOURCES: kernel-config.awk - fixed bug where script was using value from la...

sparky sparky at pld-linux.org
Sat Sep 27 23:29:24 CEST 2008


Author: sparky                       Date: Sat Sep 27 21:29:24 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fixed bug where script was using value from last option

---- Files affected:
SOURCES:
   kernel-config.awk (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: SOURCES/kernel-config.awk
diff -u SOURCES/kernel-config.awk:1.8 SOURCES/kernel-config.awk:1.9
--- SOURCES/kernel-config.awk:1.8	Fri Sep 19 15:26:50 2008
+++ SOURCES/kernel-config.awk	Sat Sep 27 23:29:19 2008
@@ -100,6 +100,7 @@
 		sub( "^" option, "", line )
 		sub( /^[ \t]*/, "", line )
 
+		delete archs
 		if ( line ~ /"/ ) {
 			# there can be white spaces
 			i = 0
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/kernel-config.awk?r1=1.8&r2=1.9&f=u



More information about the pld-cvs-commit mailing list