ports/benchmarks/nbench/files/patch-sysinfo.sh
Dmitry Marakasov e342ed87b5 - Pass maintainership to submitter
- Regenerate patches

PR:		200950
Submitted by:	luca.pizzamiglio@gmail.com
2015-06-19 00:42:51 +00:00

13 lines
417 B
Bash

--- sysinfo.sh.orig 2008-05-12 20:35:23 UTC
+++ sysinfo.sh
@@ -65,8 +65,8 @@ rm -f sysinfo.crm sysinfoc.c hello
# this bombs out on Ultrix which expect "cut -d"
-compsystem=`uname -a | cut -b 1-78`
-compdate=`date|cut -b1-55`
+compsystem=`uname -a | cut -f 1-78`
+compdate=`date | cut -f 1-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