Skip to content

Commit 7bc53ef

Browse files
[scripts] Move otherwise misleading comment in mkgraph.sh (#4787)
1 parent a754c18 commit 7bc53ef

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

egs/wsj/s5/utils/mkgraph.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ dir=$3
5050

5151
mkdir -p $dir
5252

53-
# If $lang/tmp/LG.fst does not exist or is older than its sources, make it...
5453
# (note: the [[ ]] brackets make the || type operators work (inside [ ], we
5554
# would have to use -o instead), -f means file exists, and -ot means older than).
5655

@@ -93,6 +92,8 @@ fi
9392

9493
mkdir -p $lang/tmp
9594
trap "rm -f $lang/tmp/LG.fst.$$" EXIT HUP INT PIPE TERM
95+
96+
# If $lang/tmp/LG.fst does not exist or is older than its sources, make it...
9697
# Note: [[ ]] is like [ ] but enables certain extra constructs, e.g. || in
9798
# place of -o
9899
if [[ ! -s $lang/tmp/LG.fst || $lang/tmp/LG.fst -ot $lang/G.fst || \

0 commit comments

Comments
 (0)