blob: 08719e79172b094d29da935b8655d0be1d86c701 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
$NetBSD: patch-ag,v 1.2 1998/09/24 08:45:00 agc Exp $
--- scripts/os.orig Sun Aug 30 05:38:55 1998
+++ scripts/os Sun Aug 30 05:40:06 1998
@@ -1,10 +1,10 @@
#!/bin/sh
OS=bloat-os
-if [ -f ../scripts/gnu-os ]
-then OS=`../scripts/gnu-os | sed s/unknown-//`
+if [ -f @PREFIX@/bin/lmbench/gnu-os ]
+then OS=`@PREFIX@/bin/lmbench/gnu-os | sed s/unknown-//`
fi
-if [ -f ../../scripts/gnu-os ]
-then OS=`../../scripts/gnu-os | sed s/unknown-//`
+if [ -f @PREFIX@/bin/lmbench/gnu-os ]
+then OS=`@PREFIX@/bin/lmbench/gnu-os | sed s/unknown-//`
fi
echo $OS
|