[Fedora-security-commits] fedora-security/tools/scripts check-updates, 1.4, 1.5

fedora-security-commits at redhat.com fedora-security-commits at redhat.com
Fri Apr 25 13:12:55 UTC 2008


Author: thoger

Update of /cvs/fedora/fedora-security/tools/scripts
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv23562/tools/scripts

Modified Files:
	check-updates 
Log Message:
fix debug message
btw, debug output is enabled by default



Index: check-updates
===================================================================
RCS file: /cvs/fedora/fedora-security/tools/scripts/check-updates,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- check-updates	25 Apr 2008 13:00:00 -0000	1.4
+++ check-updates	25 Apr 2008 13:12:25 -0000	1.5
@@ -69,7 +69,7 @@
 		}
 
 		if ($debug) {
-			print "  -> Found: ", grep($_ eq $update_nvr, @{ $u->{'_NVRs'} });
+			print "  -> Found: ", grep(/^$entry->{component}-/, @{ $u->{'_NVRs'} });
 		}
 		
 		# Modify the line accordingly




More information about the Fedora-security-commits mailing list