2013-09-26 17:14:40 +02:00

18 lines
551 B
Plaintext

$NetBSD: patch-ac,v 1.5 2005/11/05 19:47:51 kristerw Exp $
--- scripts/create-all-latgraphs.orig 1997-06-27 02:37:14.000000000 +0200
+++ scripts/create-all-latgraphs 2005-11-05 20:39:31.000000000 +0100
@@ -35,6 +35,3 @@
-# Step 1: Discover hbench root path
-HBENCHROOT=`(cd \`dirname $0\`/.. ; pwd)`
-
-for dir in */*
+for dir in @PREFIX@/share/hbench/*/*
do
@@ -42,3 +39,3 @@
echo "Generating latency graph for $dir..."
- ${HBENCHROOT}/scripts/gen-latgraph -ps ${dir}/lat_mem_rd
+ @PREFIX@/bin/hbench/gen-latgraph -ps ${dir}/lat_mem_rd
fi