Revert "Update search pattern for src type #5136"

This reverts commit 9152c27522.
This commit is contained in:
Xinyu Hou 2015-11-30 16:44:17 -08:00
parent 6b67530056
commit a68a01ca0f
1 changed files with 0 additions and 3 deletions

View File

@ -1471,9 +1471,6 @@ class InternalCommands:
def getDistFilename(self, type): def getDistFilename(self, type):
pattern = self.getVersionForFilename() pattern = self.getVersionForFilename()
if (type == 'src'):
pattern += '-Source'
for filename in os.listdir(self.getBinDir('Release')): for filename in os.listdir(self.getBinDir('Release')):
if re.search(pattern, filename): if re.search(pattern, filename):
return filename return filename