1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-25 15:23:08 +00:00

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