Skip to content
Snippets Groups Projects
Commit 9109399a authored by Christophe Monniez's avatar Christophe Monniez Committed by fw-bot
Browse files

[FIX] packaging: fix rpm repository generation


closes odoo/odoo#39199

X-original-commit: 25d6e9a6
Signed-off-by: default avatarChristophe Monniez (moc) <moc@odoo.com>
parent 623b8a78
Branches
Tags
No related merge requests found
......@@ -155,7 +155,7 @@ def gen_rpm_repo(args, file_name):
shutil.copy(file_name, temp_path)
run_cmd(['createrepo', temp_path]).check_returncode() # creates a repodata folder in temp_path
shutil.copytree(os.path.join(temp_path, "repodata"), os.path.join(args.pub, 'rpm'))
shutil.copytree(os.path.join(temp_path, "repodata"), os.path.join(args.pub, 'rpm', 'repodata'))
# Remove temp directory
shutil.rmtree(temp_path)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment