From: Michael Tremer Date: Mon, 23 Sep 2024 19:35:24 +0000 (+0000) Subject: make.sh: Flag rootfiles that have lines starting with + or - X-Git-Tag: v2.29-core189~57 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=aab8f48aae5f9cb6335cb3d8c1ca29f86e915ad2;p=ipfire-2.x.git make.sh: Flag rootfiles that have lines starting with + or - Signed-off-by: Michael Tremer --- 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