Fixed distftp source file path #4464
This commit is contained in:
parent
ccaf4a8ef3
commit
88d85204db
|
@ -1313,12 +1313,8 @@ class InternalCommands:
|
||||||
dest = self.dist_name_rev(type)
|
dest = self.dist_name_rev(type)
|
||||||
print 'Uploading %s to FTP server %s...' % (dest, ftp.host)
|
print 'Uploading %s to FTP server %s...' % (dest, ftp.host)
|
||||||
|
|
||||||
srcDir = 'bin/'
|
binDir = self.getGenerator().getBinDir('Release')
|
||||||
generator = self.getGeneratorFromConfig().cmakeName
|
ftp.run(binDir + '/' + src, dest)
|
||||||
#if not generator.startswith('Visual Studio'):
|
|
||||||
# srcDir += 'release/'
|
|
||||||
|
|
||||||
ftp.run(srcDir + src, dest)
|
|
||||||
print 'Done'
|
print 'Done'
|
||||||
|
|
||||||
def getDebianArch(self):
|
def getDebianArch(self):
|
||||||
|
|
Loading…
Reference in New Issue