mirror of
https://github.com/tcsenpai/ollama.git
synced 2025-07-20 08:20:01 +00:00
Merge pull request #1790 from dhiltgen/llm_code_shuffle
Cleaup stale submodule
This commit is contained in:
commit
cd8fad3398
@ -18,6 +18,11 @@ git_module_setup() {
|
|||||||
echo "Skipping submodule initialization"
|
echo "Skipping submodule initialization"
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
# Make sure the tree is clean after the directory moves
|
||||||
|
if [ -d "${LLAMACPP_DIR}/gguf" ]; then
|
||||||
|
echo "Cleaning up old submodule"
|
||||||
|
rm -rf ${LLAMACPP_DIR}
|
||||||
|
fi
|
||||||
git submodule init
|
git submodule init
|
||||||
git submodule update --force ${LLAMACPP_DIR}
|
git submodule update --force ${LLAMACPP_DIR}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user