From a5c2a2c8138753905cffc8bfb9df65f0b508cb61 Mon Sep 17 00:00:00 2001 From: Jose Carlos Venegas Munoz Date: Tue, 8 Jan 2019 16:25:28 -0600 Subject: [PATCH] kernel: test: Fix detection on kernel changes. Kernele changes are not being detected, fix it. Signed-off-by: Jose Carlos Venegas Munoz --- .ci/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/test.sh b/.ci/test.sh index 6bf8f9bc3..9925642b1 100755 --- a/.ci/test.sh +++ b/.ci/test.sh @@ -19,7 +19,7 @@ make_target() { pushd "${script_dir}/.." >>/dev/null - if [ -n "${CI}" ] && ! git whatchanged origin/master..HEAD "${dir}" | grep "${dir}" >>/dev/null; then + if ! git diff --name-only origin/master..HEAD ${dir} | grep ${dir}; then echo "Not changes in ${dir}" return fi