From aab8f48aae5f9cb6335cb3d8c1ca29f86e915ad2 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Mon, 23 Sep 2024 19:35:24 +0000 Subject: [PATCH] make.sh: Flag rootfiles that have lines starting with + or - Signed-off-by: Michael Tremer --- make.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/make.sh b/make.sh index 3853982f8d..2e6580651a 100755 --- a/make.sh +++ b/make.sh @@ -2247,6 +2247,12 @@ check_rootfiles() { print_headline "Checking for rootfile consistency..." + # Check for changes + if ! check_rootfiles_for_pattern "^[\+\-]" \ + "Rootfiles have changed in them"; then + failed=1 + fi + # Check for /etc/init.d if ! check_rootfiles_for_pattern "^etc/init\.d/" \ "/etc/init.d/* has been found. Please replace by /etc/rc.d/init.d"; then -- 2.39.5