From c8d80f332d7a292e2e200d6f2eea9dbb1581135e Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Fri, 20 Aug 2021 11:43:33 +0200 Subject: [PATCH] contrib/makerepo: fix detection of centpkg for git+ssh:// remotes --- contrib/fedora/utils/makerepo.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/fedora/utils/makerepo.sh b/contrib/fedora/utils/makerepo.sh index a4360c68c..7014c3038 100755 --- a/contrib/fedora/utils/makerepo.sh +++ b/contrib/fedora/utils/makerepo.sh @@ -88,7 +88,7 @@ if [[ "$FEDPKG" == "" ]]; then URL="$(git config --get "remote.$REMOTE.url")" if [[ "$URL" = *'pkgs.devel.redhat.com'* ]]; then FEDPKG=rhpkg - elif [[ "$URL" = *'gitlab.com:redhat/centos-stream'* ]]; then + elif [[ "$URL" = *'gitlab.com'*'redhat/centos-stream'* ]]; then FEDPKG=centpkg elif [[ "$URL" = *'pkgs.fedoraproject.org/'* ]]; then FEDPKG=fedpkg