make, scripts: git submodule update --init --recursive

Consistently run git submodule update with --init --recursive.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2018-11-18 18:31:30 +00:00
commit adb18caa13
3 changed files with 4 additions and 5 deletions

View file

@ -132,7 +132,7 @@ love:
@echo "Not war?"
cvsupdate update:
if [ -d "CVS" ]; then cvs update -dP || exit 1; else git pull || exit 1; fi
if [ -d "CVS" ]; then cvs update -dP || exit 1; else git pull && git submodule update --init --recursive || exit 1; fi
cvsdiff diff:
if [ -d "CVS" ]; then cvs diff -u || exit 1; else git --no-pager diff --relative --no-prefix . || exit 1; fi