We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a754c18 commit 7bc53efCopy full SHA for 7bc53ef
egs/wsj/s5/utils/mkgraph.sh
@@ -50,7 +50,6 @@ dir=$3
50
51
mkdir -p $dir
52
53
-# If $lang/tmp/LG.fst does not exist or is older than its sources, make it...
54
# (note: the [[ ]] brackets make the || type operators work (inside [ ], we
55
# would have to use -o instead), -f means file exists, and -ot means older than).
56
@@ -93,6 +92,8 @@ fi
93
92
94
mkdir -p $lang/tmp
95
trap "rm -f $lang/tmp/LG.fst.$$" EXIT HUP INT PIPE TERM
+
96
+# If $lang/tmp/LG.fst does not exist or is older than its sources, make it...
97
# Note: [[ ]] is like [ ] but enables certain extra constructs, e.g. || in
98
# place of -o
99
if [[ ! -s $lang/tmp/LG.fst || $lang/tmp/LG.fst -ot $lang/G.fst || \
0 commit comments