Skip to content

Commit

Permalink
Put curly brackets around shell variables
Browse files Browse the repository at this point in the history
  • Loading branch information
shirayu committed Aug 24, 2021
1 parent 761196b commit 937b923
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/asr_align_wav.sh
Original file line number Diff line number Diff line change
Expand Up @@ -233,9 +233,9 @@ if [ ${stage} -le 0 ] && [ ${stop_stage} -ge 0 ]; then
utt_text="${align_dir}/data/text"
if [ -f "$text" ]; then
cp -v "$text" "$utt_text"
utt_text="$text" # Use the original file, because copied file will be truncated
utt_text="${text}" # Use the original file, because copied file will be truncated
else
echo "$base $text" > "$utt_text"
echo "$base $text" > "${utt_text}"
fi
fi

Expand Down

0 comments on commit 937b923

Please sign in to comment.