aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPer Øyvind Karlsen <peroyvind@mandriva.org>2011-01-19 04:26:56 +0000
committerPer Øyvind Karlsen <peroyvind@mandriva.org>2011-01-19 04:26:56 +0000
commitbf72064ed42a06e659c7c951414693d46bb4d448 (patch)
tree6205a49f0a189b93641eb67cc36a0edba3625bd9
parentd2694a3859e02ef7336a9d6e49f61207c48da71d (diff)
downloadperl-URPM-bf72064ed42a06e659c7c951414693d46bb4d448.tar
perl-URPM-bf72064ed42a06e659c7c951414693d46bb4d448.tar.gz
perl-URPM-bf72064ed42a06e659c7c951414693d46bb4d448.tar.bz2
perl-URPM-bf72064ed42a06e659c7c951414693d46bb4d448.tar.xz
perl-URPM-bf72064ed42a06e659c7c951414693d46bb4d448.zip
unset TMPDIR so that tempnam() won't use it...
-rw-r--r--URPM.xs1
1 files changed, 1 insertions, 0 deletions
diff --git a/URPM.xs b/URPM.xs
index 86d6cbc..4ce510b 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -2949,6 +2949,7 @@ Db_convert(prefix=NULL, dbtype=NULL, swap=0, rebuild=0)
* Cleanup
* Better error checking
*/
+ unsetenv("TMPDIR");
rpmReadConfigFiles(NULL, NULL);
dbpath = rpmExpand("%{?_dbpath}", NULL);