1 diff --git a/llm/generate/gen_common.sh b/llm/generate/gen_common.sh
2 index 3825c155..d22eccd2 100644
3 --- a/llm/generate/gen_common.sh
4 +++ b/llm/generate/gen_common.sh
5 @@ -69,6 +69,8 @@ git_module_setup() {
11 # apply temporary patches until fix is upstream
12 for patch in ../patches/*.patch; do
13 git -c 'user.name=nobody' -c 'user.email=<>' -C ${LLAMACPP_DIR} am ${patch}
14 @@ -133,6 +135,8 @@ install() {
16 # Keep the local tree clean after we're done with the build
20 (cd ${LLAMACPP_DIR}/ && git checkout CMakeLists.txt)
22 if [ -n "$(ls -A ../patches/*.diff)" ]; then