From 9152c275229623ee5d4a0cd8b6fba9e857e0bdcf Mon Sep 17 00:00:00 2001 From: "Jerry (Xinyu Hou)" Date: Mon, 30 Nov 2015 13:47:23 -0800 Subject: [PATCH] Update search pattern for src type #5136 --- ext/toolchain/commands1.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ext/toolchain/commands1.py b/ext/toolchain/commands1.py index da0af1aa..22cfb83d 100644 --- a/ext/toolchain/commands1.py +++ b/ext/toolchain/commands1.py @@ -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