Skip to content

Commit f11f33f

Browse files
authored
models : cd statements are quoted to allow spaces in path (ggml-org#1041)
1 parent 8ac23c9 commit f11f33f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/whisper.nvim/whisper.nvim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ model="base.en"
3232

3333
# export the path to the whisper.cpp repo in the WHISPER_CPP_HOME env variable
3434
# https://github.com/ggerganov/whisper.cpp
35-
cd ${WHISPER_CPP_HOME}
35+
cd "${WHISPER_CPP_HOME}"
3636

3737
if [ ! -f ./stream ] ; then
3838
echo "whisper.nvim: the 'stream' executable was not found! WHISPER_CPP_HOME=${WHISPER_CPP_HOME}" > /tmp/whisper.nvim

models/download-ggml-model.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ goto :eof
3333
:download_model
3434
echo Downloading ggml model %model%...
3535

36-
cd %models_path%
36+
cd "%models_path%"
3737

3838
if exist "ggml-%model%.bin" (
3939
echo Model %model% already exists. Skipping download.

0 commit comments

Comments
 (0)