Updated Makefile

Changed how new content is pulled
This commit is contained in:
Ethan Smith-Coss 2024-11-28 12:58:07 +00:00
parent eb3868260a
commit 6600aeaa88
Signed by: TheOnePath
GPG Key ID: 1D351CCC6D01F32B

View File

@ -144,7 +144,8 @@ install: build
update: update:
@echo "Updating module components..." @echo "Updating module components..."
git submodule foreach \ git submodule foreach \
'git pull origin $$(git rev-parse --abbrev-ref HEAD)' '[[ $$(basename $$(git rev-parse --show-toplevel)) != Hyprland ]] && git pull origin $$(git rev-parse --abbrev-ref HEAD)'
-cd Hyprland && git fetch origin --no-all --tags
# In case these libraries haven't been pulled yet, ignore the exit code # 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 tomlplusplus && git pull origin $$(git rev-parse --abbrev-ref HEAD)
-cd libxcb-errors && git pull origin $$(git rev-parse --abbrev-ref HEAD) -cd libxcb-errors && git pull origin $$(git rev-parse --abbrev-ref HEAD)