You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
524 B
18 lines
524 B
#!/bin/sh |
|
STATUSRETVAL=$(git status --porcelain | grep -i "M mavlink/include/mavlink/v1.0") |
|
if [ "$STATUSRETVAL" == "" ]; then |
|
echo "checked mavlink submodule, correct version found" |
|
else |
|
echo "mavlink sub repo not at correct version. Try 'git submodule update'" |
|
exit 1 |
|
fi |
|
|
|
STATUSRETVAL=$(git status --porcelain | grep -i "M NuttX") |
|
if [ "$STATUSRETVAL" == "" ]; then |
|
echo "checked NuttX submodule, correct version found" |
|
else |
|
echo "NuttX sub repo not at correct version. Try 'git submodule update'" |
|
exit 1 |
|
fi |
|
|
|
exit 0
|
|
|