summaryrefslogtreecommitdiff
path: root/solenv/bin/modules/installer/parameter.pm
diff options
context:
space:
mode:
authorGerd Weiss <gm@openoffice.org>2007-05-10 09:59:00 +0000
committerGerd Weiss <gm@openoffice.org>2007-05-10 09:59:00 +0000
commit3708a924efad75050ac1e05b00e5a228ab794e98 (patch)
treedb89e0e88675a8af858fb3e30b3c6dd0656c6061 /solenv/bin/modules/installer/parameter.pm
parent4148528a328452c7255b8396bc2b407db6ad8687 (diff)
INTEGRATION: CWS native82 (1.41.24); FILE MERGED
2007/03/29 11:47:25 is 1.41.24.3: RESYNC: (1.41-1.42); FILE MERGED 2007/03/27 11:15:34 is 1.41.24.2: #i75652# extension installation also for installed and archive 2007/03/20 10:46:56 is 1.41.24.1: #i74914# windows patch preparation
Diffstat (limited to 'solenv/bin/modules/installer/parameter.pm')
-rw-r--r--solenv/bin/modules/installer/parameter.pm9
1 files changed, 7 insertions, 2 deletions
diff --git a/solenv/bin/modules/installer/parameter.pm b/solenv/bin/modules/installer/parameter.pm
index 3bac303606cf..94d682ed55f8 100644
--- a/solenv/bin/modules/installer/parameter.pm
+++ b/solenv/bin/modules/installer/parameter.pm
@@ -4,9 +4,9 @@
#
# $RCSfile: parameter.pm,v $
#
-# $Revision: 1.42 $
+# $Revision: 1.43 $
#
-# last change: $Author: vg $ $Date: 2007-03-26 14:15:05 $
+# last change: $Author: gm $ $Date: 2007-05-10 10:59:00 $
#
# The Contents of this file are made available subject to
# the terms of GNU Lesser General Public License Version 2.1.
@@ -417,6 +417,8 @@ sub setglobalvariables
if ( $ENV{'TMP'} ) { $installer::globals::temppath = $ENV{'TMP'}; }
elsif ( $ENV{'TEMP'} ) { $installer::globals::temppath = $ENV{'TEMP'}; }
$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::systemactions::create_directory($installer::globals::temppath);
$installer::globals::temppath = $installer::globals::temppath . $installer::globals::separator . "i";
$installer::globals::temppath = installer::systemactions::create_pid_directory($installer::globals::temppath);
push(@installer::globals::removedirs, $installer::globals::temppath);
@@ -440,6 +442,9 @@ sub setglobalvariables
$installer::globals::jdstemppathdefined = 0;
}
+ # only one cab file, if Windows msp patches shall be prepared
+ if ( $installer::globals::prepare_winpatch ) { $installer::globals::number_of_cabfiles = 1; }
+
}
############################################