update dist function to rely on type, not generator
This commit is contained in:
parent
31876c0aed
commit
c2b87d3d01
|
@ -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)):
|
||||
|
|
Loading…
Reference in New Issue