$NetBSD: patch-ac,v 1.2 1998/09/23 16:56:00 agc Exp $ --- scripts/create-all-latgraphs.orig Sat Sep 5 09:13:21 1998 +++ scripts/create-all-latgraphs Sat Sep 5 09:13:57 1998 @@ -33,13 +33,10 @@ # # $Id: patch-ac,v 1.2 1998/09/23 16:56:00 agc Exp $ -# Step 1: Discover hbench root path -HBENCHROOT=`(cd \`dirname $0\`/.. ; pwd)` - -for dir in */* +for dir in @PREFIX@/share/hbench/*/* do if [ -d $dir -a -d ${dir}/lat_mem_rd ]; then 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 done