build,travis: allow dash in package name 4626/head
authorPaul Spooren <spooren@informatik.uni-leipzig.de>
Tue, 25 Jul 2017 17:17:44 +0000 (19:17 +0200)
committerPaul Spooren <paul@spooren.de>
Tue, 25 Jul 2017 17:38:02 +0000 (19:38 +0200)
Signed-off-by: Paul Spooren <paul@spooren.de>
.travis_do.sh

index 5a7a086e0c2115cdb3fd5dc68ce2e280b0ebb12b..52570fc25b2c43f9e91df385da193efb3e6e772a 100755 (executable)
@@ -121,7 +121,7 @@ test_commits() {
                fi
 
                subject="$(git show -s --format=%s $commit)"
-               if echo "$subject" | grep -q '^[0-9A-Za-z,]\+: '; then
+               if echo "$subject" | grep -q '^[0-9A-Za-z,-]\+: '; then
                        echo_green "Commit subject line seems ok ($subject)"
                else
                        echo_red "Commit subject line MUST start with '<package name>: ' ($subject)"