rpms/kernel/devel kernel.spec,1.103,1.104

Dave Jones (davej) fedora-extras-commits at redhat.com
Mon Aug 20 18:07:14 UTC 2007


Author: davej

Update of /cvs/pkgs/rpms/kernel/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13984

Modified Files:
	kernel.spec 
Log Message:
fix the empty file check


Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/kernel.spec,v
retrieving revision 1.103
retrieving revision 1.104
diff -u -r1.103 -r1.104
--- kernel.spec	20 Aug 2007 18:03:35 -0000	1.103
+++ kernel.spec	20 Aug 2007 18:06:41 -0000	1.104
@@ -1151,8 +1151,8 @@
 #
 # misc small stuff to make things compile
 #
-C=$(wc -l linux-2.6-compile-fixes.patch | awk '{print $1}')
-if [ $C -gt 10 ]; then
+C=$(wc -l $RPM_SOURCE_DIR/linux-2.6-compile-fixes.patch | awk '{print $1}')
+if [ "$C" -gt 10 ]; then
 ApplyPatch linux-2.6-compile-fixes.patch
 fi
 




More information about the fedora-extras-commits mailing list