dist/tools/headerguards: fix comment for current code
This commit is contained in:
parent
bd5b195433
commit
0a99a018c2
3
dist/tools/headerguards/check.sh
vendored
3
dist/tools/headerguards/check.sh
vendored
@ -60,8 +60,7 @@ _headercheck() {
|
|||||||
DIFFLINE=""
|
DIFFLINE=""
|
||||||
# we are in a diff currently
|
# we are in a diff currently
|
||||||
elif [ -n "$DIFF" ]; then
|
elif [ -n "$DIFF" ]; then
|
||||||
# grep first line number of diff including offset to
|
# grep first line number of diff
|
||||||
# comment _under_ diff
|
|
||||||
if echo "$line" | \
|
if echo "$line" | \
|
||||||
grep -q "@@ -[0-9]\+\(,[0-9]\+\)\? +[0-9]\+\(,[0-9]\+\)\? @@"
|
grep -q "@@ -[0-9]\+\(,[0-9]\+\)\? +[0-9]\+\(,[0-9]\+\)\? @@"
|
||||||
then
|
then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user