trying to fix nightly build - missing variable init

This commit is contained in:
Nick Bolton 2011-01-19 03:52:29 +00:00
parent a3bf48752f
commit fe9fa85c00
1 changed files with 2 additions and 0 deletions

View File

@ -528,6 +528,7 @@ class InternalCommands:
print 'Uploading %s to FTP server %s...' % (dest, ftp.host)
srcDir = 'bin/'
generator = self.get_generator_from_config()
if not generator.startswith('Visual Studio'):
srcDir += '/release'
@ -575,6 +576,7 @@ class InternalCommands:
pattern = re.escape('synergy-') + '\d\.\d\.\d' + re.escape('-' + platform + '.' + ext)
target = ''
generator = self.get_generator_from_config()
if not generator.startswith('Visual Studio'):
target = 'release'