Updated Makefile

Fixed escape issue with git subshell commands.
This commit is contained in:
Ethan Smith-Coss 2024-07-01 19:28:20 +01:00
parent 4a4c0ff1cf
commit 70a4974ffd
Signed by: TheOnePath
GPG Key ID: 1D351CCC6D01F32B

View File

@ -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."