Kaydet (Commit) b3553246 authored tarafından Luboš Luňák's avatar Luboš Luňák

grep actually doesn't normally know \t, but [:blank:] is [ \t]

Change-Id: Ie9bf8ea60f1c0595aa3ac2e0f9b3e6505af30e6c
üst 86b49aa4
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment