aboutsummaryrefslogtreecommitdiffstats
path: root/extras/scripts
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2019-06-25 10:16:10 -0400
committerDave Wallace <dwallacelf@gmail.com>2019-06-25 15:59:05 +0000
commit6e5baf29e2e48dc62a439d148f243dbb735de786 (patch)
tree475c8352b19ae6f6017b08e7ab04541f7cdf1328 /extras/scripts
parent0bcb931c399faaf2beed8aebf6c752e6d1af8680 (diff)
build: fix error messages in check_commit_msg.sh
Type: fix Change-Id: I432c22880a418be35ad9f99c3e4afc90449e83d1 Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'extras/scripts')
-rwxr-xr-xextras/scripts/check_commit_msg.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/extras/scripts/check_commit_msg.sh b/extras/scripts/check_commit_msg.sh
index 14722fa4939..b9bfc303eb2 100755
--- a/extras/scripts/check_commit_msg.sh
+++ b/extras/scripts/check_commit_msg.sh
@@ -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 "feature id(s) must be listed before ':' and space delimited "
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
exit 1
fi
@@ -26,8 +26,8 @@ for i in ${FEATURES}; do
if [ ${is_known} = "false" ] ; then
echo $ERR
echo "Unknown feature '${i}' in commit 'Subject:' line."
- echo "Feature must exist in MAINTAINERS file. If this commit intruduces "
- echo "new feature, then this commit must add new entry into the "
+ echo "Feature must exist in MAINTAINERS file. If this commit introduces "
+ echo "a new feature, then this commit must add an entry to the "
echo "MAINTAINERS file."
echo $ERR
exit 1
@@ -47,4 +47,3 @@ if [ ${is_known} = "false" ] ; then
echo $ERR
exit 1
fi
-