Kaydet (Commit) 21284778 authored tarafından Tim Retout's avatar Tim Retout

installer: Inline $installer::globals::globaltempdirname

Change-Id: I4174f61e45e71720d0679f798f440096d0ce4583
üst a3f8156e
......@@ -93,7 +93,6 @@ BEGIN
$msilanguage = ""; # hash reference for msi languages LCID
$sofficeiconadded = 0;
$temppath = "";
$globaltempdirname = "ooopackaging";
$cyg_temppath = "";
$temppathdefined = 0;
$packageversion = 1;
......
......@@ -376,7 +376,7 @@ sub setglobalvariables
elsif ( $ENV{'TEMP'} ) { $installer::globals::temppath = $ENV{'TEMP'}; }
elsif ( $ENV{'TMPDIR'} ) { $installer::globals::temppath = $ENV{'TMPDIR'}; }
$installer::globals::temppath =~ s/\Q$installer::globals::separator\E\s*$//; # removing ending slashes and backslashes
$installer::globals::temppath = $installer::globals::temppath . $installer::globals::separator . $installer::globals::globaltempdirname;
$installer::globals::temppath .= $installer::globals::separator . 'ooopackaging';
installer::systemactions::create_directory_with_privileges($installer::globals::temppath, "777");
my $dirsave = $installer::globals::temppath;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment