do not repeate twice .0.0.beta2 in the download tarball name

PRODUCTVERSION is associated with SHORT_PRODUCTEXTENSION.
ABOUTBOXPRODUCTVERSION is associated with ABOUTBOXPRODUCTVERSIONSUFFIX.
We should not mix these another way.

Change-Id: I991f74e058d19ec3ae0d98e8efe8458d648ae74c
This commit is contained in:
Petr Mladek 2012-06-19 15:21:34 +02:00
parent 293fa2da69
commit ed4c2ab1e3

View file

@ -360,7 +360,6 @@ sub get_download_version
my $version = "";
$version = $allvariables->{'PRODUCTVERSION'};
if (( $allvariables->{'ABOUTBOXPRODUCTVERSION'} ) && ( $allvariables->{'ABOUTBOXPRODUCTVERSION'} ne "" )) { $version = $allvariables->{'ABOUTBOXPRODUCTVERSION'}; }
if (( $allvariables->{'SHORT_PRODUCTEXTENSION'} ) && ( $allvariables->{'SHORT_PRODUCTEXTENSION'} ne "" )) { $version = $version . $allvariables->{'SHORT_PRODUCTEXTENSION'}; }
return $version;