From fe9fa85c00b45f5e271eba049cc99ec405da1855 Mon Sep 17 00:00:00 2001 From: Nick Bolton Date: Wed, 19 Jan 2011 03:52:29 +0000 Subject: [PATCH] trying to fix nightly build - missing variable init --- build/commands.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build/commands.py b/build/commands.py index 0a2c453f..41811e9d 100644 --- a/build/commands.py +++ b/build/commands.py @@ -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'