From dd62f49089d7e1e075681bbd3cc2951537536840 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Mon, 10 May 2021 00:32:23 +0200 Subject: [PATCH] copr-hv: undefined variable fix --- .../copr/backend/templates/provision/copr-rpmbuild/main.ini.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/copr/backend/templates/provision/copr-rpmbuild/main.ini.j2 b/roles/copr/backend/templates/provision/copr-rpmbuild/main.ini.j2 index 08a233d735..3f0bf90d92 100644 --- a/roles/copr/backend/templates/provision/copr-rpmbuild/main.ini.j2 +++ b/roles/copr/backend/templates/provision/copr-rpmbuild/main.ini.j2 @@ -1,5 +1,5 @@ [main] -frontend_url = {{ frontend_base_url or "unset" }} +frontend_url = {{ frontend_base_url if frontend_base_url is defined }} distgit_lookaside_url = {scheme}://{netloc}/repo/pkgs/%(ns1)s/%(name)s/%(filename)s/%(hashtype)s/%(hash)s/%(filename)s distgit_clone_url = {scheme}://{netloc}/%(module)s rpm_vendor_copr_name = {{rpm_vendor_copr_name}}