From 76ef446aefc77388b0fb4002019e419689166c3c Mon Sep 17 00:00:00 2001 From: Eric Curtin Date: Thu, 21 May 2026 14:14:21 +0100 Subject: [PATCH] fix: use rm -f to handle missing .py files in llamacpp install llama.cpp no longer ships Python scripts in install/bin/, so the glob expands to nothing and bare rm exits non-zero, failing the macOS e2e build. Using rm -f silently succeeds when no files match. --- llamacpp/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llamacpp/Makefile b/llamacpp/Makefile index 8362e7273..723369aac 100644 --- a/llamacpp/Makefile +++ b/llamacpp/Makefile @@ -42,7 +42,7 @@ ifeq ($(DETECTED_OS),macOS) --config Release \ --prefix $(INSTALL_DIR) @echo "Cleaning install directory..." - rm $(INSTALL_DIR)/bin/*.py + rm -f $(INSTALL_DIR)/bin/*.py rm -rf $(INSTALL_DIR)/lib/cmake rm -rf $(INSTALL_DIR)/lib/pkgconfig rm -rf $(INSTALL_DIR)/include