Skip to content
This repository has been archived by the owner on Oct 26, 2021. It is now read-only.

Commit

Permalink
ci-build.sh: Update submodules before printing them
Browse files Browse the repository at this point in the history
Especially when doing incremental builds os that the project commit may
have changed, then it is useful to print the submodules as they are
after update rather than the previous state.  Otherwise submodules will
still be printed correctly but marked as modified which is confusing.

Signed-off-by: Gunnar Andersson <gandersson@genivi.org>
  • Loading branch information
Gunnar Andersson committed May 27, 2017
1 parent d650a94 commit b21192b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/ci-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,8 @@ fi
# go.cd when fetching materials, but materials can be overriden by FORK /
# BRANCH / TAG / COMMIT
echo "Submodules:"
git submodule
git submodule update # Because submodules may have changed
git submodule status

# Deal with special setup, copy binary drivers etc.
set -x
Expand Down

0 comments on commit b21192b

Please sign in to comment.