Commit 9983fa5f authored by Daniel Hiltgen's avatar Daniel Hiltgen
Browse files

Cleaup stale submodule

If the tree has a stale submodule, make sure we clean it up first
parent fac9060d
...@@ -18,6 +18,11 @@ git_module_setup() { ...@@ -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}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment