]> git.alsa-project.org Git - alsa.git/commitdiff
corrected [sound] and sound: check in pre-receive
authorJaroslav Kysela <perex@perex.cz>
Fri, 30 May 2008 11:39:32 +0000 (13:39 +0200)
committerJaroslav Kysela <perex@perex.cz>
Fri, 30 May 2008 11:39:32 +0000 (13:39 +0200)
hooks/alsa-kernel.git/pre-receive

index c88afa7c2f7761da531731de3302bde7f8ff3780..7f96fd17ebc66a6e7da039c4c3e3a29ac3db07bd 100755 (executable)
@@ -307,8 +307,8 @@ def do_check_commit(lines):
     #    exit(1)
     if not lines[6][4:].upper().startswith('[ALSA] ') and \
        not lines[6][4:].upper().startswith('ALSA: ') and \
-       not lines[6][4:].upper().startswith('[sound] ') and \
-       not lines[6][4:].upper().startswith('sound: '):
+       not lines[6][4:].upper().startswith('[SOUND] ') and \
+       not lines[6][4:].upper().startswith('SOUND: '):
         error(lines, 'First log line does not start with "[ALSA] " or "ALSA: " or "[SOUND] " or "SOUND: "\n')
         fail()
     lastsigned = ''