Revert "Update search pattern for src type #5136"
This reverts commit 9152c27522
.
This commit is contained in:
parent
6b67530056
commit
a68a01ca0f
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue