fix variable re-declaration warning/error

This commit is contained in:
Trevor Cooper 2022-07-06 10:08:47 -07:00
parent e8769a4e23
commit 019b97bc33
Signed by: tcooper
GPG Key ID: 52364D7BBCEB35B8

View File

@ -31,7 +31,7 @@ sub run {
$params .= "inst.repo=" . get_full_repo($repourl) . " ";
}
# Construct inst.addrepo arg for ADD_REPOSITORY_VARIATION
my $repourl = get_var("ADD_REPOSITORY_VARIATION");
$repourl = get_var("ADD_REPOSITORY_VARIATION");
if ($repourl) {
$params .= "inst.addrepo=addrepo," . get_full_repo($repourl) . " ";
}