From 8ac23c9f77a5f67985666cf17ad9cf9b86c23aab Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Sun, 25 Jun 2023 15:22:49 +0300 Subject: [PATCH] models : handle paths with spaces in download script (close #1038) --- models/download-ggml-model.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/download-ggml-model.sh b/models/download-ggml-model.sh index e5c59a73..4440b94e 100755 --- a/models/download-ggml-model.sh +++ b/models/download-ggml-model.sh @@ -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"