rpms/kcbench/F-12 kcbench,1.6,1.7 kcbench.spec,1.7,1.8

Thorsten Leemhuis thl at fedoraproject.org
Sun Jul 4 15:14:44 UTC 2010


Author: thl

Update of /cvs/pkgs/rpms/kcbench/F-12
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv21436

Modified Files:
	kcbench kcbench.spec 
Log Message:
* Sun Jul 04 2010 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 0.3-6
- use type (bash built in) instead of which to check if all tools are available



Index: kcbench
===================================================================
RCS file: /cvs/pkgs/rpms/kcbench/F-12/kcbench,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -p -r1.6 -r1.7
--- kcbench	24 May 2010 07:55:06 -0000	1.6
+++ kcbench	4 Jul 2010 15:14:44 -0000	1.7
@@ -25,7 +25,7 @@
 
 # this is me
 myprog_name=kcbench
-myprog_version=0.3.2
+myprog_version=0.3.3
 
 # set some defaults -- called before cmdoptions are parsed
 kcbench_init ()
@@ -57,7 +57,7 @@ kcbench_startupchecks()
 {
 	# check for tools we need
 	for tool in make gcc ld awk /usr/bin/time; do
-		if ! which ${tool} &> /dev/null ; then
+		if ! type ${tool} &> /dev/null ; then
 			echo "Could not find ${tool}"
 			exit 2
 		fi


Index: kcbench.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kcbench/F-12/kcbench.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -p -r1.7 -r1.8
--- kcbench.spec	24 May 2010 07:55:06 -0000	1.7
+++ kcbench.spec	4 Jul 2010 15:14:44 -0000	1.8
@@ -1,6 +1,6 @@
 Name:           kcbench
 Version:        0.3
-Release:        5%{?dist}
+Release:        6%{?dist}
 Summary:        Kernel compile benchmark
 
 Group:          Applications/System
@@ -54,6 +54,9 @@ rm -rf ${RPM_BUILD_ROOT}
 
 
 %changelog
+* Sun Jul 04 2010 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 0.3-6
+- use type (bash built in) instead of which to check if all tools are available
+
 * Mon May 24 2010 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 0.3-5
 - a few small adjutments
 -- a few output format adjustments



More information about the scm-commits mailing list