blob: ac0d080b1a1b1ec4f1a2335eae400deabf8d11b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$NetBSD: patch-ab,v 1.4 2005/03/07 10:35:44 agc Exp $
--- festival/config/system.sh 2005/01/10 09:08:39 1.1
+++ festival/config/system.sh 2005/01/10 09:08:58
@@ -46,7 +46,7 @@
sed -e '/^\([^_]*\).*/s//\1/' -e '/\//s///g'`
# CPU, downcased, /s and some uninteresting details eliminated
-MACHINETYPE=`{ mach || uname -m || echo unknown ; } 2>/dev/null |
+MACHINETYPE=`{ echo unknown ; } 2>/dev/null |
tr ABCDEFGHIJKLMNOPQRSTUVWXYZ/ abcdefghijklmnopqrstuvwxyz_ |
sed -e 's/i[0-9]86/ix86/' \
-e 's/sun4/sparc/' \
@@ -56,7 +56,7 @@
`
# OR revision, only take first two numbers.
-OSREV=`{ uname -r || echo ""; } 2> /dev/null |
+OSREV=`{ echo ""; } 2> /dev/null |
sed -e 's/^\([^.]*\)\(\.[^-. ]*\).*/\1\2/'`
# Sort out various flavours of Linux
|