Skip to content
Snippets Groups Projects
Commit 0720407b authored by Lorenz Meier's avatar Lorenz Meier
Browse files

Make submodule check less verbose

parent b937618e
No related branches found
No related tags found
No related merge requests found
......@@ -16,9 +16,8 @@ if [ -f $1"/.git" ];
then
SUBMODULE_STATUS=$(git submodule summary "$1")
STATUSRETVAL=$(echo $SUBMODULE_STATUS | grep -A20 -i "$1")
if [ -z "$STATUSRETVAL" ]; then
echo "Checked $1 submodule, correct version found"
else
if ! [[ -z "$STATUSRETVAL" ]];
then
echo -e "\033[31mChecked $1 submodule, ACTION REQUIRED:\033[0m"
echo ""
echo -e "Different commits:"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment