From ab379ad0b5ff38457b067fd61f7db1703c5803ba Mon Sep 17 00:00:00 2001 From: TheOnePath Date: Mon, 1 Jul 2024 19:30:51 +0100 Subject: [PATCH] Updated Makefile Added ignore exit code flag to libraries when updating that are cloned later. --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a26c79d..3eeaab9 100644 --- a/Makefile +++ b/Makefile @@ -133,8 +133,9 @@ update: @echo "Updating module components..." git submodule foreach \ 'git pull origin $$(git rev-parse --abbrev-ref HEAD)' - cd tomlplusplus && git pull origin $$(git rev-parse --abbrev-ref HEAD) - cd libxcb-error && git pull origin $$(git rev-parse --abbrev-ref HEAD) + # In case these libraries haven't been pulled yet, ignore the exit code + -cd tomlplusplus && git pull origin $$(git rev-parse --abbrev-ref HEAD) + -cd libxcb-error && git pull origin $$(git rev-parse --abbrev-ref HEAD) test: build @echo "Be real, you don't want to do this, so we'll abort."