summaryrefslogtreecommitdiff
path: root/benchmarks/nbench/files/patch-sysinfo.sh
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/nbench/files/patch-sysinfo.sh')
-rw-r--r--benchmarks/nbench/files/patch-sysinfo.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/benchmarks/nbench/files/patch-sysinfo.sh b/benchmarks/nbench/files/patch-sysinfo.sh
new file mode 100644
index 000000000000..75c9f0a11b4d
--- /dev/null
+++ b/benchmarks/nbench/files/patch-sysinfo.sh
@@ -0,0 +1,13 @@
+--- sysinfo.sh.orig Mon Oct 18 00:03:53 2004
++++ sysinfo.sh Mon Oct 18 00:04:35 2004
+@@ -50,8 +50,8 @@
+
+ # 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