Correzione append percorsi.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
c015aeea99
commit
03620cf013
@ -433,10 +433,12 @@ class Build(loaih.RemoteBuild):
|
||||
if self.remoterepo:
|
||||
# Remote first.
|
||||
# Build destination directory
|
||||
if len(self.relative_path) > 0:
|
||||
remotepath = str.join('/', self.relative_path.insert(0, self.remote_path))
|
||||
else:
|
||||
if len(self.relative_path) == 0:
|
||||
remotepath = str.join('/', [ self.remote_path, '' ])
|
||||
elif len(self.relative_path) == 1:
|
||||
remotepath = str.join('/', [ self.remote_path, self.relative_path[0], '' ])
|
||||
else:
|
||||
remotepath = str.join('/', self.relative_path.insert(0, self.remote_path))
|
||||
try:
|
||||
subprocess.run(
|
||||
r"rsync -rlIvz --munge-links *.AppImage* " +
|
||||
|
Reference in New Issue
Block a user