summaryrefslogtreecommitdiff
path: root/benchmarks/hbench/patches/patch-ab
blob: 684c61806693e358db3a9675fdfa423e83908ba2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$NetBSD: patch-ab,v 1.3 1999/11/15 13:19:52 rh Exp $

--- scripts/create-all-analyses.orig	Mon Nov 15 14:15:28 1999
+++ scripts/create-all-analyses	Mon Nov 15 14:15:28 1999
@@ -31,13 +31,10 @@
 #
 # $Id: patch-ab,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 ]; then
 	echo "Running analysis on $dir..."
-	${HBENCHROOT}/scripts/gen-analysis $dir > ${dir}/analysis
+	@PREFIX@/bin/hbench/gen-analysis $dir > ${dir}/analysis
     fi
 done