From 52f48ff0c4c63d9b78c1cc7f787acc4a4f35c9a5 Mon Sep 17 00:00:00 2001 From: "Brent S. Sport" Date: Thu, 24 Jun 2021 07:29:31 +0200 Subject: [PATCH] added --recurse-submodules=yes for the toychain update command --- bin/toychain | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/toychain b/bin/toychain index c83eb28..102b5ad 100755 --- a/bin/toychain +++ b/bin/toychain @@ -78,7 +78,7 @@ tcupdate() { echo "$pgm: updating daemon with tag $tag..." top=$(git rev-parse --show-toplevel) echo // updating $top - git pull --ff-only origin master 2>&1 | tee transcript.log + git pull --ff-only --recurse-submodules=yes origin master 2>&1 | tee transcript.log echo // checking out $tag git checkout $tag 2>&1 | tee -a transcript.log git log -1 @@ -118,7 +118,7 @@ tcdebug() { tcversion() { top=$(git rev-parse --show-toplevel) gitid0=$(git rev-parse --short HEAD) - git pull --ff-only origin master 1>> transcript.log 2>&1 + git pull --ff-only --recurse-submodules=yes origin master 1>> transcript.log 2>&1 git checkout $tag 1>> transcript.log 2>&1 gitid1=$(git rev-parse --short HEAD) if [ "x$gitid0" != "x$gitid1" ]; then gitid1=$gitdi0-$gitid1; fi