mirror of
https://github.com/debauchee/barrier.git
synced 2024-12-26 12:41:35 +03:00
corrected dist ftp search path
This commit is contained in:
parent
7cc7717563
commit
0eaba29571
@ -92,6 +92,12 @@ class InternalCommands:
|
|||||||
workingDir += '/' + target
|
workingDir += '/' + target
|
||||||
return workingDir
|
return workingDir
|
||||||
|
|
||||||
|
def getBinDir(self, target=''):
|
||||||
|
workingDir = self.bin_dir
|
||||||
|
if target != '':
|
||||||
|
workingDir += '/' + target
|
||||||
|
return workingDir
|
||||||
|
|
||||||
def config_filepath(self, target=''):
|
def config_filepath(self, target=''):
|
||||||
return '%s/%s' % (self.getBuildDir(target), self.config_filename)
|
return '%s/%s' % (self.getBuildDir(target), self.config_filename)
|
||||||
|
|
||||||
@ -668,7 +674,7 @@ class InternalCommands:
|
|||||||
if type != 'win':
|
if type != 'win':
|
||||||
target = 'release'
|
target = 'release'
|
||||||
|
|
||||||
for filename in os.listdir(self.getBuildDir(target)):
|
for filename in os.listdir(self.getBinDir(target)):
|
||||||
if re.search(pattern, filename):
|
if re.search(pattern, filename):
|
||||||
return filename
|
return filename
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user