mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +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..."
|
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
|
# Check for /etc/init.d
|
||||||
if ! check_rootfiles_for_pattern "^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
|
"/etc/init.d/* has been found. Please replace by /etc/rc.d/init.d"; then
|
||||||
|
|||||||
Reference in New Issue
Block a user