aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/Iurt/Chroot.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Iurt/Chroot.pm b/lib/Iurt/Chroot.pm
index a3f314c..5761e71 100644
--- a/lib/Iurt/Chroot.pm
+++ b/lib/Iurt/Chroot.pm
@@ -143,7 +143,7 @@ sub dump_rpmmacros {
#plog("adding rpmmacros to $file");
- my $tmpfile = "/tmp/rpmmacros";
+ my $tmpfile = mktemp("/tmp/rpmmacros.XXXXXX");
if (!open $f, ">$tmpfile") {
plog("ERROR: could not open $tmpfile ($!)");
return 0;