summaryrefslogtreecommitdiff
path: root/audio/flite/patches/patch-ac
blob: 4ce40f18d2c5dd21a1dcfda8933ebb4edd78577d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
$NetBSD: patch-ac,v 1.1 2006/10/08 21:35:13 rillig Exp $

--- tools/huff_table.orig	2005-01-20 18:01:53.000000000 +0100
+++ tools/huff_table	2006-10-08 23:34:05.000000000 +0200
@@ -62,7 +62,7 @@ export LANG
 ## 0 is reserved, 1 is reserved too
 ALPHABET_SIZE=254
 
-if [ $1 == "entries" ]
+if [ $1 = "entries" ]
 then 
    infile=$2
    outfile=$3
@@ -74,7 +74,7 @@ then 
          printf("\n");}' >huff.tmp.corpus
 fi
 
-if [ $1 == "phones" ]
+if [ $1 = "phones" ]
 then 
    infile=$2
    outfile=$3
@@ -83,7 +83,7 @@ then 
    sed 's/\\/ /g' >huff.tmp.corpus
 fi
 
-if [ $1 == "residual" ]
+if [ $1 = "residual" ]
 then 
    # This really doesn't work: just some tests to see what's worthwhile
    infile=$2
@@ -110,7 +110,7 @@ then 
    sed 's/,//g;s/};//' >huff.tmp.corpus
 fi
 
-if [ $1 == "other" ]
+if [ $1 = "other" ]
 then
    infile=$2
    outfile=$3
@@ -242,7 +242,7 @@ awk 'BEGIN {'"$maptable"'}
         printf("\n");
      }' > huff.tmp.corpus.uncompressed
 
-if [ $1 == "phones" ]
+if [ $1 = "phones" ]
 then
    cat huff.tmp.corpus.best |
    sed 's/+/\\/g' |
@@ -259,7 +259,7 @@ then
    mv huff.tmp.corpus.compressed huff.phones.compressed
 fi
 
-if [ $1 == "entries" ]
+if [ $1 = "entries" ]
 then
    cat huff.tmp.corpus.best |
    sed 's/+//g' |