forked from Archive/PX4-Autopilot
Make submodule check less verbose
This commit is contained in:
parent
b937618e59
commit
0720407b8c
|
@ -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:"
|
||||
|
|
Loading…
Reference in New Issue