summaryrefslogtreecommitdiff
path: root/sysinfo.sh
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2008-11-15 04:45:48 +0000
committerMatt Turner <mattst88@gmail.com>2008-11-15 04:45:48 +0000
commit991b62808450c54ac721f345d82426fde3e6289f (patch)
tree491d537644ed0886d2eedc1dd774280d56f41e5f /sysinfo.sh
parent71fc241cfd8e94a20a7bd33369e09bde0424e367 (diff)
-- 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
Diffstat (limited to 'sysinfo.sh')
-rwxr-xr-xsysinfo.sh10
1 files changed, 4 insertions, 6 deletions
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