]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
models : handle spaces and special characters in shell script paths (#677)
authorbe-next <redacted>
Wed, 29 Mar 2023 20:38:33 +0000 (22:38 +0200)
committerGitHub <redacted>
Wed, 29 Mar 2023 20:38:33 +0000 (23:38 +0300)
commit18e6fb0287b5f851a5c0fbd0bb13b66f7197e540
tree783a13e453d9ba43f97d841dce59aad393b9b947
parent0f759f125dae318582642ede5448f7a3d6355ecf
models : handle spaces and special characters in shell script paths (#677)

This commit modifies the `get_script_path` function to correctly handle
spaces and special characters in directory paths. The fix involves adding
double quotes around variables and commands where needed to ensure proper
parsing of paths with spaces and special characters.
models/download-ggml-model.sh