From fb42b297a7fc8b457eff364741dcab9e88291637 Mon Sep 17 00:00:00 2001 From: Troy Dawson Date: Aug 15 2023 14:03:01 +0000 Subject: Correctly clone rpms/ Signed-off-by: Troy Dawson --- diff --git a/src/centpkg/cli.py b/src/centpkg/cli.py index 06e73e1..38d4377 100755 --- a/src/centpkg/cli.py +++ b/src/centpkg/cli.py @@ -285,6 +285,9 @@ class centpkgClient(cliClient): if "modules/" in self.args.repo[0]: project_name_with_namespace = "redhat/centos-stream/"+self.args.repo[0] short_name=self.args.repo[0].split("/")[1] + if "rpms/" in self.args.repo[0]: + project_name_with_namespace = "redhat/centos-stream/"+self.args.repo[0] + short_name=self.args.repo[0].split("/")[1] else: project_name_with_namespace = "redhat/centos-stream/rpms/"+self.args.repo[0] short_name=self.args.repo[0]