diff --git a/tests/_live_build.pm b/tests/_live_build.pm index 78b56743..6a18ffca 100644 --- a/tests/_live_build.pm +++ b/tests/_live_build.pm @@ -43,7 +43,7 @@ sub run { # and the workarounds repo assert_script_run 'echo "repo --name=workarounds --baseurl=file:///mnt/workarounds_repo" >> ' . $repoks if ($workarounds); # and the buildroot repo, for Rawhide - if ($version eq $rawrel) { + if ($brrepo) { assert_script_run 'echo "repo --name=buildroot --baseurl=https://kojipkgs.fedoraproject.org/repos/' . $brrepo . '/latest/\$basearch/" >> ' . $repoks; } # now flatten the kickstart