summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-09-01 09:13:35 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-09-01 09:13:35 +0000
commit3693753b57d952dd6148852818cb413012071a37 (patch)
tree3c712c9aa90938e26d12ead64095b094d99b7e7f /perl-install/install_steps.pm
parent81de1c90a50d4d9527787c636d36dfd92ee94da0 (diff)
downloaddrakx-3693753b57d952dd6148852818cb413012071a37.tar
drakx-3693753b57d952dd6148852818cb413012071a37.tar.gz
drakx-3693753b57d952dd6148852818cb413012071a37.tar.bz2
drakx-3693753b57d952dd6148852818cb413012071a37.tar.xz
drakx-3693753b57d952dd6148852818cb413012071a37.zip
set TMPDIR and TMP during install (bugzilla #18088)
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r--perl-install/install_steps.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index 435c8836c..3584d8233 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -449,6 +449,8 @@ sub installPackages { #- complete REWORK, TODO and TOCHECK!
my $time = time();
{
local $ENV{DURING_INSTALL} = 1;
+ local $ENV{TMPDIR} = '/tmp';
+ local $ENV{TMP} = '/tmp';
pkgs::install($o->{isUpgrade}, \@toInstall, $packages, \&installCallback);
}
any::writeandclean_ldsoconf($o->{prefix});