From 0e781913b8f0db4e53a51e141b45bf48726bbe5a Mon Sep 17 00:00:00 2001 From: proletarius101 Date: Sat, 6 Apr 2024 22:41:01 +0800 Subject: [PATCH] fix: No such file or directory: 'repo/entry.jar' --- fdroidserver/deploy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fdroidserver/deploy.py b/fdroidserver/deploy.py index ba219a5f..d2ad5802 100644 --- a/fdroidserver/deploy.py +++ b/fdroidserver/deploy.py @@ -709,7 +709,7 @@ def update_servergitmirrors(servergitmirrors, repo_section): if not branch_name in repo.heads: repo.create_head(branch_name, initial_branch_ref) repo.head.reference = repo.heads[branch_name] - + # test print(repo.git.status()) @@ -730,7 +730,7 @@ def update_servergitmirrors(servergitmirrors, repo_section): print(glob.glob('.' + '/**/*', recursive=True)) logging.debug('Adding index files to git mirror') - repo.index.add(_get_index_file_paths(repo_section)) + repo.index.add(_get_index_file_paths(os.path.join('fdroid', repo_section))) else: # sadly index.add don't allow the --all parameter logging.debug('Adding all files to git mirror')