From 70a4974ffd58a338580470367b3f444dddb2f117 Mon Sep 17 00:00:00 2001 From: TheOnePath Date: Mon, 1 Jul 2024 19:28:20 +0100 Subject: [PATCH] Updated Makefile Fixed escape issue with git subshell commands. --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 7049741..a26c79d 100644 --- a/Makefile +++ b/Makefile @@ -132,9 +132,9 @@ install: build 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) + '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) test: build @echo "Be real, you don't want to do this, so we'll abort."