From ddbfa9201f4a64bea7bcc0521395f7132ced9b19 Mon Sep 17 00:00:00 2001 From: Renato Silva Date: Tue, 24 May 2016 17:56:22 -0300 Subject: [PATCH] CI: Fix for package change detection. --- ci-library.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ci-library.sh b/ci-library.sh index 97cfa7cc6e..5984155e54 100644 --- a/ci-library.sh +++ b/ci-library.sh @@ -174,11 +174,12 @@ list_commits() { # Changed recipes list_packages() { local _packages - _list_changes _packages '*/PKGBUILD' '%/PKGBUILD' --pretty=format: --name-only + _list_changes _packages '*/PKGBUILD' '%/PKGBUILD' --pretty=format: --name-only || return 1 for _package in "${_packages[@]}"; do local find_case_sensitive="$(find -name "${_package}" -type d -print -quit)" test -n "${find_case_sensitive}" && packages+=("${_package}") done + return 0 } # Status functions