OSDN Git Service

Fix the release/developer detection in configure.py
authoreddyg <eddyg@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Mon, 23 Nov 2009 21:17:39 +0000 (21:17 +0000)
committereddyg <eddyg@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Mon, 23 Nov 2009 21:17:39 +0000 (21:17 +0000)
git-svn-id: svn://localhost/HandBrake/trunk@2964 b64f7644-9d1e-0410-96f1-a4d463321fa5

make/configure.py

index 9580bfb..a12d380 100644 (file)
@@ -630,7 +630,7 @@ class RepoProbe( ShellProbe ):
         if self.uuid == 'b64f7644-9d1e-0410-96f1-a4d463321fa5':
             self.official = 1
             m = re.match( '([^:]+)://([^/]+)/(.+)', self.url )
-            if m and re.match( 'tags/', m.group( 3 )):
+            if m and re.match( '.*tags/.*', m.group( 3 )):
                 self.type = 'release'
             else:
                 self.type = 'developer'