python-cryptography: bump to version 2.0.3
[feed/packages.git] / .travis_do.sh
index 8671165ee2d1ae46f5f4ae96b31435d01629704e..683dab79fe2dde77089925d6c9e2c55696b13f09 100755 (executable)
@@ -58,11 +58,11 @@ download_sdk() {
 # test_package call make download check for very new/modified package
 test_packages2() {
        # search for new or modified packages. PKGS will hold a list of package like 'admin/muninlite admin/monit ...'
-       PKGS=$(git diff --name-only "$TRAVIS_COMMIT_RANGE" | grep 'Makefile$' | grep -v '/files/' | awk -F'/Makefile' '{ print $1 }')
+       PKGS=$(git diff --diff-filter=d --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:"