build,travis: fix return code when "No new or modified packages found!"

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
This commit is contained in:
Etienne Champetier 2017-08-05 09:18:00 -07:00
parent f4cb676252
commit 0bffa6b48b
1 changed files with 2 additions and 2 deletions

View File

@ -61,8 +61,8 @@ test_packages2() {
PKGS=$(git diff --name-only "$TRAVIS_COMMIT_RANGE" | grep 'Makefile$' | grep -v '/files/' | awk -F'/Makefile' '{ print $1 }')
if [ -z "$PKGS" ] ; then
echo_blue "No new or modified packages found!" >&2
exit 0
echo_blue "No new or modified packages found!"
return 0
fi
echo_blue "=== Found new/modified packages:"