]> granicus.if.org Git - handbrake/commitdiff
build: Update regex in configure.py to fix buggy Python versions. 0.10.x
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 14:01:02 +0000 (10:01 -0400)
(cherry picked from commit 71ed73bf0f16a428c8540e8b7630ab5a08926958)

make/configure.py

index c393097376a8de763ed3078f8c98c6c776eb4b34..264d1ea84a94c420d8700fe58b0ea6753ccc1ddd 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 )