make kernel read/build and check part of CI

Signed-off-by: Avi Deitcher <avi@deitcher.net>
This commit is contained in:
Avi Deitcher
2024-03-05 10:25:37 +02:00
parent 17f5ecaefd
commit 2389221c4a
3 changed files with 27 additions and 2 deletions

View File

@@ -69,7 +69,7 @@ case "${mode}" in
fi
old=$1
new=$2
git grep -E -l "\b($old)([[:space:]]|$)?" -- '*.yml' '*.yaml' '*.yml.in' '*.yaml.in' '*/Dockerfile' '*/Makefile' | grep -v /vendor/ | while read -r file; do sed -ri.bak -e "s,($old)([[:space:]]|$)?,$new\2,g" "$file"; done
git grep -E -l "\b($old)([[:space:]]|$)" -- '*.yml' '*.yaml' '*.yml.in' '*.yaml.in' '*/Dockerfile' '*/Makefile' | grep -v /vendor/ | while read -r file; do sed -ri.bak -e "s,($old)([[:space:]]|$),$new\2,g" "$file"; done
;;
--image)
if [ $# -lt 1 ] ; then
@@ -99,4 +99,4 @@ case "${mode}" in
;;
esac
find . -name '*.bak' | xargs rm
find . -name '*.bak' | xargs rm || true