Update search pattern for src type #5136
This commit is contained in:
parent
0207b697e3
commit
9152c27522
|
@ -1471,6 +1471,9 @@ class InternalCommands:
|
|||
|
||||
def getDistFilename(self, type):
|
||||
pattern = self.getVersionForFilename()
|
||||
if (type == 'src'):
|
||||
pattern += '-Source'
|
||||
|
||||
for filename in os.listdir(self.getBinDir('Release')):
|
||||
if re.search(pattern, filename):
|
||||
return filename
|
||||
|
|
Loading…
Reference in New Issue