Update search pattern for src type #5136

This commit is contained in:
Jerry (Xinyu Hou) 2015-11-30 13:47:23 -08:00
parent 0207b697e3
commit 9152c27522
1 changed files with 3 additions and 0 deletions

View File

@ -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