models : cd statements are quoted to allow spaces in path (#1041)

This commit is contained in:
Roddur Dasgupta
2023-06-25 05:27:28 -07:00
committed by GitHub
parent 8ac23c9f77
commit f11f33f1c0
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ model="base.en"
# export the path to the whisper.cpp repo in the WHISPER_CPP_HOME env variable
# https://github.com/ggerganov/whisper.cpp
cd ${WHISPER_CPP_HOME}
cd "${WHISPER_CPP_HOME}"
if [ ! -f ./stream ] ; then
echo "whisper.nvim: the 'stream' executable was not found! WHISPER_CPP_HOME=${WHISPER_CPP_HOME}" > /tmp/whisper.nvim