kaldi-offline-transcriber icon indicating copy to clipboard operation
kaldi-offline-transcriber copied to clipboard

Problem with Makefile.options file

Open Wickee opened this issue 8 years ago • 1 comments

Created a Makefile.options file with the following:

KALDI_ROOT=/home/$USER/tools/kaldi

But when running the makefile, somehow the symlinks created, namely sid, steps and utils, are broken. When I examined the symlinks, instead of the expansion for $USER, I seeSER`. I do not know why this happens since I am not well versed in programming in general and linux shell in particular. When I change the Makefile.options to use the expanded username instead of the variable, the script runs fine.

Wickee avatar Sep 12 '16 17:09 Wickee

It might be caused by having a variable called U in your bash shell. Try replacing the above line with:

KALDI_ROOT=/home/$(USER)/tools/kaldi

alumae avatar Sep 14 '16 16:09 alumae