Sourceforge downloads have a ?download at the end.

Change-Id: Ic85233ae6ac9176b476267b3526d234b498cfa94
This commit is contained in:
Monty Taylor 2012-06-05 10:48:20 -04:00
parent 67f7548cad
commit afbb866bef

View File

@ -34,7 +34,8 @@ for filename in os.listdir(source_cache):
continue
realname = urllib.unquote(filename)
tarball = os.path.basename(realname)
# The ? accounts for sourceforge downloads
tarball = os.path.basename(realname).split("?")[0]
name_match = PACKAGE_VERSION_RE.search(tarball)
if name_match is None: