Sourceforge downloads have a ?download at the end.
Change-Id: Ic85233ae6ac9176b476267b3526d234b498cfa94
This commit is contained in:
parent
67f7548cad
commit
afbb866bef
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user