alumae / kaldi-offline-transcriber

Offline transcription system for Estonian using Kaldi
Other
226 stars 57 forks source link

Problem with Makefile.options file #13

Open Wickee opened 7 years ago

Wickee commented 7 years ago

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.

alumae commented 7 years ago

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