mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
make.sh: Flag rootfiles that have lines starting with + or -
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
6
make.sh
6
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
|
||||
|
||||
Reference in New Issue
Block a user