update dist function to rely on type, not generator

This commit is contained in:
Nick Bolton 2011-01-20 04:20:56 +00:00
parent 31876c0aed
commit c2b87d3d01
1 changed files with 2 additions and 2 deletions

View File

@ -604,9 +604,9 @@ class InternalCommands:
pattern = re.escape('synergy-') + '\d\.\d\.\d' + re.escape('-' + platform + '.' + ext)
# only use release dir if not windows
target = ''
generator = self.get_generator_from_config()
if not generator.startswith('Visual Studio'):
if type != 'win':
target = 'release'
for filename in os.listdir(self.getBinDir(target)):