Browse Source

added --recurse-submodules=yes for the toychain update command

master
Brent S. Sport 3 years ago
committed by Brooke L. Rediker
parent
commit
52f48ff0c4
  1. 4
      bin/toychain

4
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

Loading…
Cancel
Save