diff options
author | João Victor Duarte Martins <jvictor@mandriva.com> | 2010-05-27 12:43:41 +0000 |
---|---|---|
committer | João Victor Duarte Martins <jvictor@mandriva.com> | 2010-05-27 12:43:41 +0000 |
commit | 7c8dde314f16902e357e92ee8ffa1b95049a2e7e (patch) | |
tree | 959f8d788b6515e63a683654f16920694b50312f /mdkapplet-upgrade-helper | |
parent | 39e1d066d0b1c30ce7f9f5cf62e26c1d8661ad1e (diff) | |
download | mgaonline-7c8dde314f16902e357e92ee8ffa1b95049a2e7e.tar mgaonline-7c8dde314f16902e357e92ee8ffa1b95049a2e7e.tar.gz mgaonline-7c8dde314f16902e357e92ee8ffa1b95049a2e7e.tar.bz2 mgaonline-7c8dde314f16902e357e92ee8ffa1b95049a2e7e.tar.xz mgaonline-7c8dde314f16902e357e92ee8ffa1b95049a2e7e.zip |
* mdkapplet-upgrade-helper(upgrade): Fixed logfile template passed to mktemp.
Diffstat (limited to 'mdkapplet-upgrade-helper')
-rwxr-xr-x | mdkapplet-upgrade-helper | 4 |
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'"); } |