[Libreoffice-commits] .: solenv/bin
Michael Meeks
michael at kemper.freedesktop.org
Tue Aug 23 03:55:12 PDT 2011
solenv/bin/make_installer.pl | 4 ++--
solenv/bin/modules/installer/exiter.pm | 4 ----
solenv/bin/modules/installer/globals.pm | 6 ------
3 files changed, 2 insertions(+), 12 deletions(-)
New commits:
commit 75953230cc287f24c039e7fc7005229b11addc50
Author: Jordan Ayers <jordan.ayers at gmail.com>
Date: Sat Aug 13 22:49:11 2011 -0500
Clean up globals in make_installer.pl
Reduce scope of $packjobref.
Remove $exithandler and its shutdown check, since no handler was ever assigned.
Remove some unused install::global:: variables.
diff --git a/solenv/bin/make_installer.pl b/solenv/bin/make_installer.pl
index 561dcef..bb7c684 100644
--- a/solenv/bin/make_installer.pl
+++ b/solenv/bin/make_installer.pl
@@ -2282,7 +2282,7 @@ for ( my $n = 0; $n <= $#installer::globals::languageproducts; $n++ )
my $ddfdir = installer::systemactions::create_directories("ddf", $languagestringref);
- $installer::globals::packjobref = installer::windows::msiglobal::generate_cab_file_list($filesinproductlanguageresolvedarrayref, $installdir, $ddfdir, $allvariableshashref);
+ my $packjobref = installer::windows::msiglobal::generate_cab_file_list($filesinproductlanguageresolvedarrayref, $installdir, $ddfdir, $allvariableshashref);
# Update and patch reasons the pack order needs to be saved
installer::windows::msiglobal::save_packorder();
@@ -2307,7 +2307,7 @@ for ( my $n = 0; $n <= $#installer::globals::languageproducts; $n++ )
if ( $installer::globals::iswin ) # only possible on a Windows platform
{
installer::logger::print_message( "... packaging installation set ... \n" );
- installer::windows::msiglobal::execute_packaging($installer::globals::packjobref, $loggingdir, $allvariableshashref);
+ installer::windows::msiglobal::execute_packaging($packjobref, $loggingdir, $allvariableshashref);
if ( $installer::globals::include_cab_in_msi ) { installer::windows::msiglobal::include_cabs_into_msi($installdir); }
####################################
diff --git a/solenv/bin/modules/installer/exiter.pm b/solenv/bin/modules/installer/exiter.pm
index d5976f4..fa9aeb4 100644
--- a/solenv/bin/modules/installer/exiter.pm
+++ b/solenv/bin/modules/installer/exiter.pm
@@ -103,10 +103,6 @@ sub exit_program
installer::logger::stoptime();
- if (defined($installer::globals::exithandler)) {
- &$installer::globals::exithandler;
- }
-
exit(-1);
}
diff --git a/solenv/bin/modules/installer/globals.pm b/solenv/bin/modules/installer/globals.pm
index ace634a..eeb3760 100644
--- a/solenv/bin/modules/installer/globals.pm
+++ b/solenv/bin/modules/installer/globals.pm
@@ -104,8 +104,6 @@ BEGIN
$ziplistname = "";
$pathfilename = "";
$setupscriptname = "";
- $headerfilename = "";
- $shellscriptsfilename = "";
$product = "";
$languagelist = "";
$added_english = 0;
@@ -150,7 +148,6 @@ BEGIN
$unpackpath = "";
$idttemplatepath = "";
$idtlanguagepath = "";
- $packjobref = "";
$buildid = "Not set";
$guidcounter = 1000; # for uniqueness of guids
$fontsfolder = "FontsFolder";
@@ -221,7 +218,6 @@ BEGIN
$makelinuxlinkrpm = 0;
$linuxlinkrpmprocess = 0;
$add_required_package = "";
- $linuxrespin = 0;
@linuxpatchfiles = ();
$linuxlibrarybaselevel = "1";
$linuxlibrarypatchlevel = "1.1";
@@ -498,8 +494,6 @@ BEGIN
@emptypackages = ();
%fontpackageexists = ();
- $exithandler = undef;
-
$plat = $^O;
if ( $plat =~ /cygwin/i )
More information about the Libreoffice-commits
mailing list