CircleCI: Fix Debian grep compatibility
authorTed Hess <thess@kitschensync.net>
Sat, 15 Dec 2018 20:53:46 +0000 (15:53 -0500)
committerTed Hess <thess@kitschensync.net>
Sat, 15 Dec 2018 20:53:46 +0000 (15:53 -0500)
Signed-off-by: Ted Hess <thess@kitschensync.net>
.circleci/config.yml

index 13a77ed50e1b1344d0cae7a6ebe008c287450708..9f1dc1576325934b98bb962bdf7ecaf03898cdba 100644 (file)
@@ -39,7 +39,7 @@ jobs:
                fi
 
                subject="$(git show -s --format=%s $commit)"
-               if echo "$subject" | grep -q -e '^[0-9A-Za-z,/_-+]\+: ' -e '^Revert '; then
+               if echo "$subject" | grep -q -e '^[0-9A-Za-z,+/_-]\+: ' -e '^Revert '; then
                  echo_green "Commit subject line seems ok ($subject)"
                else
                  echo_red "Commit subject line MUST start with '<package name>: ' ($subject)"