stopped distftp from looking in release dir for non-windows
This commit is contained in:
parent
0eaba29571
commit
a7b698230b
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue