Use OOO_VENDOR as Packager whenever it is defined

It is passed by the --with-vendor configure switch and it is
visible on Control Panel in Windows. In official builds
We want TDF there, not the username of the builder.
This commit is contained in:
Andras Timar
2011-12-05 18:29:16 +01:00
parent 83560ad42b
commit bee2841519

View File

@@ -638,11 +638,11 @@ sub set_manufacturer
{
$manufacturer = $ENV{'OOO_VENDOR'};
}
if( defined $ENV{'USERNAME'} && $ENV{'USERNAME'} ne "" )
elsif( defined $ENV{'USERNAME'} && $ENV{'USERNAME'} ne "" )
{
$manufacturer = $ENV{'USERNAME'};
}
if( defined $ENV{'USER'} && $ENV{'USER'} ne "" )
elsif( defined $ENV{'USER'} && $ENV{'USER'} ne "" )
{
$manufacturer = $ENV{'USER'};
}