Don't redefine $prerelease

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2019-08-20 23:42:01 -07:00
parent 2f51f3ef20
commit 397dc9a9cf

View File

@ -983,7 +983,7 @@ sub check_prerelease {
# this is not a big issue. This piece of code can be used later, when
# we decide differently.
elsif ($nightly =~ /\.[nt]\.\d+/) {
my $prerelease = 10;
$prerelease = 10;
}
# For all prerelease requiring ISOs, assert that prerelease is there.
if ($prerelease == 1) {