SOURCES: kernel-track-config-change.awk - nicer output and print to stderr

sparky sparky at pld-linux.org
Sun Sep 28 17:02:13 CEST 2008


Author: sparky                       Date: Sun Sep 28 15:02:13 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- nicer output and print to stderr

---- Files affected:
SOURCES:
   kernel-track-config-change.awk (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SOURCES/kernel-track-config-change.awk
diff -u SOURCES/kernel-track-config-change.awk:1.3 SOURCES/kernel-track-config-change.awk:1.4
--- SOURCES/kernel-track-config-change.awk:1.3	Sun Sep 28 16:54:46 2008
+++ SOURCES/kernel-track-config-change.awk	Sun Sep 28 17:02:07 2008
@@ -55,7 +55,8 @@
 		#print "Warning: new option " name " with value " value
 	} else {
 		if ( value != orig ) {
-			print "ERROR (" optionFile[ name ] "): option " name " redefined from " orig " to " value
+			print "ERROR (" optionFile[ name ] "): " name \
+			      " redefined from `" orig "' to `" value "'" > "/dev/stderr"
 			foundErrors++
 		}
 	}
@@ -63,7 +64,7 @@
 
 END {
 	if ( foundErrors ) {
-		print "There were " foundErrors " errors"
+		print "There were " foundErrors " errors" > "/dev/stderr"
 		if ( dieOnError )
 			exit 1
 	}
================================================================

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



More information about the pld-cvs-commit mailing list