diff options
| author | Christophe Monniez <moc@odoo.com> | 2019-10-22 09:34:33 +0000 |
|---|---|---|
| committer | fw-bot <otis@odoo.com> | 2019-10-22 15:27:09 +0000 |
| commit | 9109399aad1cf20caa1c4cc7666c0bbd67691647 (patch) | |
| tree | f3c27f203b7669338eeef794bf1747fd49935825 /setup | |
| parent | 623b8a78e3039bd8974cf349d558215d49f99a2f (diff) | |
[FIX] packaging: fix rpm repository generation
closes odoo/odoo#39199
X-original-commit: 25d6e9a6b79bbc2cb935cdc6c86d1f226732599a
Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
Diffstat (limited to 'setup')
| -rwxr-xr-x | setup/package.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setup/package.py b/setup/package.py index 9bdaf299126..5f4f8e5375d 100755 --- a/setup/package.py +++ b/setup/package.py @@ -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) |
