1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-19 21:30:10 +01:00

Merge branch 'fix_path' into 'master'

build: support PosixPath in log message (Closes #1096)

Closes #1096

See merge request fdroid/fdroidserver!1298
This commit is contained in:
Jochen Sprickerhof 2023-02-16 13:48:24 +00:00
commit 7e362a708c

View File

@ -118,7 +118,7 @@ def build_server(app, build, vcs, build_dir, output_dir, log_dir, force):
# Helper to copy the contents of a directory to the server... # Helper to copy the contents of a directory to the server...
def send_dir(path): def send_dir(path):
logging.debug("rsyncing " + path + " to " + ftp.getcwd()) logging.debug("rsyncing %s to %s" % (path, ftp.getcwd()))
# TODO this should move to `vagrant rsync` from >= v1.5 # TODO this should move to `vagrant rsync` from >= v1.5
try: try:
subprocess.check_output(['rsync', '--recursive', '--perms', '--links', '--quiet', '--rsh=' subprocess.check_output(['rsync', '--recursive', '--perms', '--links', '--quiet', '--rsh='