mk: show submodule status on failure

This commit is contained in:
Andrew Tridgell 2016-01-21 08:12:40 +11:00
parent 869b5e96b1
commit a0af5515b8
1 changed files with 2 additions and 0 deletions

View File

@ -25,10 +25,12 @@ done
set -x set -x
git submodule init || { git submodule init || {
echo "git submodule init failed" echo "git submodule init failed"
git submodule status
exit 1 exit 1
} }
git submodule update || { git submodule update || {
echo "git submodule update failed" echo "git submodule update failed"
git submodule status
exit 1 exit 1
} }
cat <<EOF cat <<EOF