$NetBSD: patch-ac,v 1.3 1999/11/15 13:19:52 rh Exp $ --- scripts/create-all-latgraphs.orig Mon Nov 15 14:15:28 1999 +++ scripts/create-all-latgraphs Mon Nov 15 14:15:28 1999 @@ -33,13 +33,10 @@ # # $Id: patch-ac,v 1.3 1999/11/15 13:19:52 rh 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