From: Etienne Champetier Date: Sat, 5 Aug 2017 16:18:00 +0000 (-0700) Subject: build,travis: fix return code when "No new or modified packages found!" X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=0bffa6b48b6b37ba203abcc4eb661829f61e920f;p=openwrt-packages.git build,travis: fix return code when "No new or modified packages found!" Signed-off-by: Etienne Champetier --- diff --git a/.travis_do.sh b/.travis_do.sh index 8671165ee..47a29f4d1 100755 --- a/.travis_do.sh +++ b/.travis_do.sh @@ -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:"