Fixed distftp source file path #4464

This commit is contained in:
Nick Bolton 2015-03-21 18:57:09 +00:00
parent ccaf4a8ef3
commit 88d85204db
1 changed files with 2 additions and 6 deletions

View File

@ -1313,12 +1313,8 @@ class InternalCommands:
dest = self.dist_name_rev(type)
print 'Uploading %s to FTP server %s...' % (dest, ftp.host)
srcDir = 'bin/'
generator = self.getGeneratorFromConfig().cmakeName
#if not generator.startswith('Visual Studio'):
# srcDir += 'release/'
ftp.run(srcDir + src, dest)
binDir = self.getGenerator().getBinDir('Release')
ftp.run(binDir + '/' + src, dest)
print 'Done'
def getDebianArch(self):