rpms/kernel/devel/scripts reconfig.sh,1.5,1.6

Dave Jones (davej) fedora-extras-commits at redhat.com
Tue Jul 10 00:51:29 UTC 2007


Author: davej

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

Modified Files:
	reconfig.sh 
Log Message:
Make scripts/reconfig.sh work with the specfile again since the versioning changes


Index: reconfig.sh
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/scripts/reconfig.sh,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- reconfig.sh	3 Jul 2007 05:30:54 -0000	1.5
+++ reconfig.sh	10 Jul 2007 00:50:58 -0000	1.6
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-V=$(grep sublevel kernel-2.6.spec | head -n1 | awk '{ print $3 }')
+V=$(grep "%define base_sublevel" kernel-2.6.spec | head -n1 | awk '{ print $3 }')
 
 cd kernel-2.6.$V/linux-2.6.$V.noarch/
 rm -f kernel-*.config
@@ -17,3 +17,4 @@
 	cat .config >> configs/$i
 	echo
 done
+




More information about the scm-commits mailing list