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)
|
pattern = re.escape('synergy-') + '\d\.\d\.\d' + re.escape('-' + platform + '.' + ext)
|
||||||
|
|
||||||
|
# only use release dir if not windows
|
||||||
target = ''
|
target = ''
|
||||||
generator = self.get_generator_from_config()
|
if type != 'win':
|
||||||
if not generator.startswith('Visual Studio'):
|
|
||||||
target = 'release'
|
target = 'release'
|
||||||
|
|
||||||
for filename in os.listdir(self.getBinDir(target)):
|
for filename in os.listdir(self.getBinDir(target)):
|
||||||
|
|
Loading…
Reference in New Issue