]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
models : handle paths with spaces in download script (close #1038)
authorGeorgi Gerganov <redacted>
Sun, 25 Jun 2023 12:22:49 +0000 (15:22 +0300)
committerGeorgi Gerganov <redacted>
Sun, 25 Jun 2023 12:23:23 +0000 (15:23 +0300)
models/download-ggml-model.sh

index e5c59a73ebe15bfdab35e682fb511dd292bd9e85..4440b94eb141fa28b354b598e7a65f3afdbc1165 100755 (executable)
@@ -54,7 +54,7 @@ fi
 
 printf "Downloading ggml model $model from '$src' ...\n"
 
-cd $models_path
+cd "$models_path"
 
 if [ -f "ggml-$model.bin" ]; then
     printf "Model $model already exists. Skipping download.\n"