build: fix error messages in check_commit_msg.sh
Type: fix Change-Id: I432c22880a418be35ad9f99c3e4afc90449e83d1 Signed-off-by: Dave Barach <dave@barachs.net>
This commit is contained in:
Dave Barach
committed by
Dave Wallace
parent
0bcb931c39
commit
6e5baf29e2
@ -12,7 +12,7 @@ if [ $(echo ${FEATURES} | wc -w) -eq 0 ]; then
|
|||||||
echo "git commit 'Subject:' line must contain at least one known feature id."
|
echo "git commit 'Subject:' line must contain at least one known feature id."
|
||||||
echo "feature id(s) must be listed before ':' and space delimited "
|
echo "feature id(s) must be listed before ':' and space delimited "
|
||||||
echo "if more then one is listed."
|
echo "if more then one is listed."
|
||||||
echo "Please reffer to MAINTAINERS file (I: lines) for known feature ids."
|
echo "Please refer to the MAINTAINERS file (I: lines) for known feature ids."
|
||||||
echo $ERR
|
echo $ERR
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
@ -26,8 +26,8 @@ for i in ${FEATURES}; do
|
|||||||
if [ ${is_known} = "false" ] ; then
|
if [ ${is_known} = "false" ] ; then
|
||||||
echo $ERR
|
echo $ERR
|
||||||
echo "Unknown feature '${i}' in commit 'Subject:' line."
|
echo "Unknown feature '${i}' in commit 'Subject:' line."
|
||||||
echo "Feature must exist in MAINTAINERS file. If this commit intruduces "
|
echo "Feature must exist in MAINTAINERS file. If this commit introduces "
|
||||||
echo "new feature, then this commit must add new entry into the "
|
echo "a new feature, then this commit must add an entry to the "
|
||||||
echo "MAINTAINERS file."
|
echo "MAINTAINERS file."
|
||||||
echo $ERR
|
echo $ERR
|
||||||
exit 1
|
exit 1
|
||||||
@ -47,4 +47,3 @@ if [ ${is_known} = "false" ] ; then
|
|||||||
echo $ERR
|
echo $ERR
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user