stopped distftp from looking in release dir for non-windows

This commit is contained in:
Nick Bolton 2011-04-28 23:01:43 +00:00
parent 0eaba29571
commit a7b698230b
1 changed files with 4 additions and 4 deletions

View File

@ -622,8 +622,8 @@ class InternalCommands:
srcDir = 'bin/' srcDir = 'bin/'
generator = self.get_generator_from_config() generator = self.get_generator_from_config()
if not generator.startswith('Visual Studio'): #if not generator.startswith('Visual Studio'):
srcDir += 'release/' # srcDir += 'release/'
ftp.run(srcDir + src, dest) ftp.run(srcDir + src, dest)
print 'Done' print 'Done'
@ -671,8 +671,8 @@ class InternalCommands:
# only use release dir if not windows # only use release dir if not windows
target = '' target = ''
if type != 'win': #if type != 'win':
target = 'release' # target = 'release'
for filename in os.listdir(self.getBinDir(target)): for filename in os.listdir(self.getBinDir(target)):
if re.search(pattern, filename): if re.search(pattern, filename):