grep actually doesn't normally know \t, but [:blank:] is [ \t]
Change-Id: Ie9bf8ea60f1c0595aa3ac2e0f9b3e6505af30e6c
This commit is contained in:
parent
86b49aa44e
commit
b3553246c6
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ test "" = "$(grep '^Signed-off-by: ' "$1" |
|
|||
|
||||
# Check that the first line exists, and is not an asterisk
|
||||
|
||||
if [ -z "`head -n 1 $1 | grep -v '^[ \t]*\*$'`" ] ; then
|
||||
if [ -z "`head -n 1 $1 | grep -v '^[[:blank:]]*\*$'`" ] ; then
|
||||
abort "$1" "Please provide the general description on the first line."
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue