mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
Make check-abstractions.d compatible with more shells
This commit is contained in:
parent
07a15d651a
commit
e10a1b5ad9
1 changed files with 2 additions and 2 deletions
|
@ -117,7 +117,7 @@ check-abstractions.d:
|
|||
@echo "*** Checking if all abstractions (with a few exceptions) contain #include if exists <abstractions/*.d>"
|
||||
$(Q)cd apparmor.d/abstractions && for file in * ; do \
|
||||
test -d "$$file" && continue ; \
|
||||
test "$$file" == 'ubuntu-browsers' && continue ; \
|
||||
test "$$file" == 'ubuntu-helpers' && continue ; \
|
||||
test "$$file" = 'ubuntu-browsers' && continue ; \
|
||||
test "$$file" = 'ubuntu-helpers' && continue ; \
|
||||
grep -q "^ #include if exists <abstractions/$${file}.d>$$" $$file || { echo "$$file does not contain '#include if exists <abstractions/$${file}.d>'"; exit 1; } ; \
|
||||
done
|
||||
|
|
Loading…
Add table
Reference in a new issue