Commit 772515a77c85511be7c18d3a6d9f1ef1bc49643f

Thomas de Grivel 2023-02-04T15:02:58

update submodules on pull

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/share/shpkg/shpkg.subr b/share/shpkg/shpkg.subr
index c9ccecd..6da8b75 100644
--- a/share/shpkg/shpkg.subr
+++ b/share/shpkg/shpkg.subr
@@ -185,7 +185,8 @@ shpkg_pull () {
     for SHPKG_REPO; do
         SHPKG_REPO_DIR="$(shpkg_dir "${SHPKG_REPO}")"
         ( verbose 1 cd "${SHPKG_SRC_DIR}/${SHPKG_REPO_DIR}" &&
-              verbose 1 git pull; )
+              verbose 1 git pull &&
+              verbose 1 git submodule update; )
     done
 }