rpms/kernel/devel/scripts check-TODO.sh,1.1,1.2

Dave Jones davej at fedoraproject.org
Mon Dec 29 03:22:10 UTC 2008


Author: davej

Update of /cvs/pkgs/rpms/kernel/devel/scripts
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv6041/scripts

Modified Files:
	check-TODO.sh 
Log Message:
Remove some dead bits


Index: check-TODO.sh
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/scripts/check-TODO.sh,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- check-TODO.sh	29 Dec 2008 03:03:26 -0000	1.1
+++ check-TODO.sh	29 Dec 2008 03:21:40 -0000	1.2
@@ -7,6 +7,18 @@
  fi;
 done
 
+# sometimes dead stuff lingers in cvs, even though it's not in the specfile.
+for i in *.patch
+do
+   for j in $(grep $i kernel.spec | grep ApplyPatch | awk '{ print $2 }' | wc -l)
+   do
+     if [ "$j" = "0" ]; then
+       echo $i is in CVS, but not applied in spec file.
+       grep $i TODO | awk '{ print $2 " is also still in the TODO" }'
+     fi
+   done
+done
+
 #for i in `grep ApplyPatch kernel.spec | awk '{ print $2 }'`
 #do
 #	R=$(grep $i TODO)




More information about the fedora-extras-commits mailing list