]> granicus.if.org Git - handbrake/commitdiff
build: Update regex in configure.py to fix buggy Python versions.
authorBradley Sepos <bradley@bradleysepos.com>
Tue, 24 May 2016 13:51:27 +0000 (09:51 -0400)
committerBradley Sepos <bradley@bradleysepos.com>
Tue, 24 May 2016 13:51:27 +0000 (09:51 -0400)
make/configure.py

index 2a3ad321423b671ffc5d5aff5c8fdd96458f333e..0b9050ec83f6fccfc37751a1ef0dca300cf57441 100644 (file)
@@ -818,7 +818,7 @@ class Project( Action ):
 
         suffix = ''
         if repo.tag != '':
-            m = re.match( '^([0-9]+)\.([0-9]+)\.([0-9]+)-?(.*)?$', repo.tag )
+            m = re.match( '^([0-9]+)\.([0-9]+)\.([0-9]+)-?(.+)?$', repo.tag )
             if not m:
                 cfg.errln( 'Invalid repo tag format %s\n', repo.tag )
                 sys.exit( 1 )