summaryrefslogtreecommitdiff
path: root/benchmarks/nbench/files/patch-sysinfo.sh
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-28 14:17:02 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-28 14:17:02 +0000
commitbd660e17d775189dad03bdfa3b8d093babab10e1 (patch)
tree09c6d075cf1f65caf45985df6ee6faa66f38b428 /benchmarks/nbench/files/patch-sysinfo.sh
parentRename audio/ patch-xy patches to reflect the files they modify. (diff)
Rename benchmark/ patch-xy patches to reflect the files they modify.
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