mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-14 11:00:10 +01:00
build: write out full rsync options
Also put target host:dir on one line to make it more readable
This commit is contained in:
parent
e12e1b6a5c
commit
1bfba12124
@ -101,7 +101,7 @@ def build_server(app, build, vcs, build_dir, output_dir, log_dir, force):
|
||||
def send_dir(path):
|
||||
logging.debug("rsyncing " + path + " to " + ftp.getcwd())
|
||||
try:
|
||||
subprocess.check_output(['rsync', '-rplqe',
|
||||
subprocess.check_output(['rsync', '--recursive', '--perms', '--links', '--quiet', '--rsh=' +
|
||||
'ssh -o StrictHostKeyChecking=no' +
|
||||
' -o UserKnownHostsFile=/dev/null' +
|
||||
' -o LogLevel=FATAL' +
|
||||
@ -110,9 +110,7 @@ def build_server(app, build, vcs, build_dir, output_dir, log_dir, force):
|
||||
' -p ' + str(sshinfo['port']) +
|
||||
' -i ' + sshinfo['idfile'],
|
||||
path,
|
||||
sshinfo['user'] +
|
||||
"@" + sshinfo['hostname'] +
|
||||
":" + ftp.getcwd()],
|
||||
sshinfo['user'] + "@" + sshinfo['hostname'] + ":" + ftp.getcwd()],
|
||||
stderr=subprocess.STDOUT)
|
||||
except subprocess.CalledProcessError as e:
|
||||
raise FDroidException(str(e), e.output.decode())
|
||||
|
Loading…
Reference in New Issue
Block a user