diff --git a/plugins/reposync.py b/plugins/reposync.py index 0ff936f8..ab513e76 100644 --- a/plugins/reposync.py +++ b/plugins/reposync.py @@ -180,7 +180,7 @@ def repo_target(self, repo): def metadata_target(self, repo): if self.opts.metadata_path: - return _pkgdir(self.opts.metadata_path, repo.id) + return _pkgdir(self.opts.metadata_path, repo.id if not self.opts.norepopath else '') else: return self.repo_target(repo)