mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-02-14 19:14:26 +01:00
kernel: test: Fix detection on kernel changes.
Kernele changes are not being detected, fix it. Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user