From 0eaba29571ccc54560542cbaabd3f9312c887963 Mon Sep 17 00:00:00 2001 From: Nick Bolton Date: Thu, 28 Apr 2011 22:43:43 +0000 Subject: [PATCH] corrected dist ftp search path --- tools/build/toolchain.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tools/build/toolchain.py b/tools/build/toolchain.py index f280b965..2143f334 100644 --- a/tools/build/toolchain.py +++ b/tools/build/toolchain.py @@ -92,6 +92,12 @@ class InternalCommands: workingDir += '/' + target return workingDir + def getBinDir(self, target=''): + workingDir = self.bin_dir + if target != '': + workingDir += '/' + target + return workingDir + def config_filepath(self, target=''): return '%s/%s' % (self.getBuildDir(target), self.config_filename) @@ -668,7 +674,7 @@ class InternalCommands: if type != 'win': target = 'release' - for filename in os.listdir(self.getBuildDir(target)): + for filename in os.listdir(self.getBinDir(target)): if re.search(pattern, filename): return filename