summaryrefslogtreecommitdiffstats
path: root/mdkapplet-upgrade-helper
diff options
context:
space:
mode:
Diffstat (limited to 'mdkapplet-upgrade-helper')
-rwxr-xr-xmdkapplet-upgrade-helper4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdkapplet-upgrade-helper b/mdkapplet-upgrade-helper
index 82adc726..1e975e30 100755
--- a/mdkapplet-upgrade-helper
+++ b/mdkapplet-upgrade-helper
@@ -325,8 +325,8 @@ packages as well?)."))
# force PATH:
local $ENV{TMPDIR} = undef;
my $log_template =
- "gurpmi_upgrade_to_${new_distro_version}_XXXXXXXX.log";
- $log_file = chomp_(`mktemp -u --tmpdir=$ENV{HOME}/ $log_template`);
+ "gurpmi_upgrade_to_${new_distro_version}_XXXXXXXX";
+ $log_file = chomp_(`mktemp -u --tmpdir=$ENV{HOME}/ --suffix=.log $log_template`);
log::explanations("logging gurpmi message in '$log_file'");
}