From 991b62808450c54ac721f345d82426fde3e6289f Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Sat, 15 Nov 2008 04:45:48 +0000 Subject: -- Reorder benchmarks to simplify results calculation logic -- Fix up sysinfo template stuff -- More cleanbench.c cleanups git-svn-id: svn://mattst88.com/svn/cleanbench/trunk@59 0d43b9a7-5ab2-4d7b-af9d-f64450cef757 --- sysinfo.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'sysinfo.sh') diff --git a/sysinfo.sh b/sysinfo.sh index 80b5d89..ab7149f 100755 --- a/sysinfo.sh +++ b/sysinfo.sh @@ -61,7 +61,7 @@ if ($* hello.c -o hello) >/dev/null 2>&1; then fi fi -rm -f sysinfo.crm sysinfoc.c hello +rm -f sysinfo.crm sysinfo.c hello # this bombs out on Ultrix which expect "cut -d" @@ -71,8 +71,6 @@ compdate=`date|cut -b1-55` # let's hope that ctrl-c is not part of any string here # this also will barf later if " is in any of the strings -for i in sysinfo.c sysinfoc.c ; do - sed -e "s%CCVERSION%$gccversion" -e "s%LIBCVERSION%$libcversion"\ - -e "s%SYSTEM%$compsystem" -e "s%DATE%$compdate"\ - ${i}.template > $i -done +sed -e "s%CCVERSION%$gccversion" -e "s%LIBCVERSION%$libcversion"\ + -e "s%SYSTEM%$compsystem" -e "s%DATE%$compdate"\ + sysinfo.c.template > sysinfo.c -- cgit v1.2.3