trying to fix nightly build - missing variable init
This commit is contained in:
parent
a3bf48752f
commit
fe9fa85c00
|
@ -528,6 +528,7 @@ class InternalCommands:
|
||||||
print 'Uploading %s to FTP server %s...' % (dest, ftp.host)
|
print 'Uploading %s to FTP server %s...' % (dest, ftp.host)
|
||||||
|
|
||||||
srcDir = 'bin/'
|
srcDir = 'bin/'
|
||||||
|
generator = self.get_generator_from_config()
|
||||||
if not generator.startswith('Visual Studio'):
|
if not generator.startswith('Visual Studio'):
|
||||||
srcDir += '/release'
|
srcDir += '/release'
|
||||||
|
|
||||||
|
@ -575,6 +576,7 @@ class InternalCommands:
|
||||||
pattern = re.escape('synergy-') + '\d\.\d\.\d' + re.escape('-' + platform + '.' + ext)
|
pattern = re.escape('synergy-') + '\d\.\d\.\d' + re.escape('-' + platform + '.' + ext)
|
||||||
|
|
||||||
target = ''
|
target = ''
|
||||||
|
generator = self.get_generator_from_config()
|
||||||
if not generator.startswith('Visual Studio'):
|
if not generator.startswith('Visual Studio'):
|
||||||
target = 'release'
|
target = 'release'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue