add submodule updating script
This commit is contained in:
parent
1cfc8f242d
commit
67ef2d3626
5 changed files with 15 additions and 4 deletions
|
@ -1 +1 @@
|
||||||
Subproject commit fca3335489bdbab4cce150cb440d3559ff5400e2
|
Subproject commit b1abdd54ba655ef34f75a568d78625981bf1722c
|
|
@ -1 +1 @@
|
||||||
Subproject commit 4c82a2eedf0c43d47601ffa8b0303ed1326fab8f
|
Subproject commit f6cd6a776993b584f4abbdd204c6e4011b7d2f93
|
|
@ -1 +1 @@
|
||||||
Subproject commit 978e79e12c44b5b1d3e1e2920c537002087b82c2
|
Subproject commit 10dd51ded39e1068681e08aa0083233fae985896
|
|
@ -1 +1 @@
|
||||||
Subproject commit bde5ca4c2aa6e0c52dd7f15cf216dffdb1ec788c
|
Subproject commit d71edb83f9c7f045a0d528eeff3445ec3d518d71
|
11
src/update_submodules
Executable file
11
src/update_submodules
Executable file
|
@ -0,0 +1,11 @@
|
||||||
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
|
cd "$(dirname "$(realpath "$0")")"
|
||||||
|
|
||||||
|
|
||||||
|
cd ..
|
||||||
|
cat .gitmodules | grep 'path = ' | cut -d '=' -f 2- | while read module_path
|
||||||
|
do
|
||||||
|
echo "[update_submodules] updating '$module_path'"
|
||||||
|
( cd "$module_path" ; git pull origin master || git pull origin main; )
|
||||||
|
done
|
Loading…
Add table
Add a link
Reference in a new issue