Skip to content
Snippets Groups Projects
Commit 25d6e9a6 authored by Christophe Monniez's avatar Christophe Monniez
Browse files

[FIX] packaging: fix rpm repository generation


closes odoo/odoo#39162

Signed-off-by: default avatarChristophe Monniez (moc) <moc@odoo.com>
parent 92355385
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