diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-10-16 18:09:25 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-10-16 18:09:25 +0000 |
commit | 95e875ee64e7064dc12808f10a2aaf69e83b04cf (patch) | |
tree | 47de7f2afcfd3ffb8ef710aa7c1b1f08aff17ff6 | |
parent | 7f2993ba622b71a64eaf42d83cac3d7bf5b940a6 (diff) | |
download | mgaonline-95e875ee64e7064dc12808f10a2aaf69e83b04cf.tar mgaonline-95e875ee64e7064dc12808f10a2aaf69e83b04cf.tar.gz mgaonline-95e875ee64e7064dc12808f10a2aaf69e83b04cf.tar.bz2 mgaonline-95e875ee64e7064dc12808f10a2aaf69e83b04cf.tar.xz mgaonline-95e875ee64e7064dc12808f10a2aaf69e83b04cf.zip |
use a temporary variable
-rwxr-xr-x | mdkapplet | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -246,7 +246,11 @@ foreach my $opt (@ARGV) { } } -my $root = Rpmdrake::open_db::fast_open_urpmi_db()->{root}; +my $root; +{ + my $temp_urpm = Rpmdrake::open_db::fast_open_urpmi_db(); + $root = $temp_urpm->{root}; +} my ($new_distro, $no_more_supported); my $product_id; |