diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2006-11-13 16:25:55 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2006-11-13 16:25:55 +0000 |
commit | 46b486570f071f2f7ac67c2fbe80d03b65a3771c (patch) | |
tree | f9b1ca50fa698841ef165fbb9c4e193b18d70b6a | |
parent | a07f25cb937ca8c69fd6abbd40089fbc335f5463 (diff) | |
download | urpmi-46b486570f071f2f7ac67c2fbe80d03b65a3771c.tar urpmi-46b486570f071f2f7ac67c2fbe80d03b65a3771c.tar.gz urpmi-46b486570f071f2f7ac67c2fbe80d03b65a3771c.tar.bz2 urpmi-46b486570f071f2f7ac67c2fbe80d03b65a3771c.tar.xz urpmi-46b486570f071f2f7ac67c2fbe80d03b65a3771c.zip |
localize $dir to the block we're sure it has a meaning (and it's now no more used outside)
-rw-r--r-- | urpm.pm | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1293,10 +1293,10 @@ sub _update_medium_first_pass { #- list of rpm files for this medium, only available for local medium where #- the source hdlist is not used (use force). - my ($dir, $error, $retrieved_md5sum, @files); + my ($error, $retrieved_md5sum, @files); #- check if the medium is using a local or a removable medium. - if ($dir = file_from_local_url($medium->{url})) { + if (my $dir = file_from_local_url($medium->{url})) { #- try to figure a possible hdlist_path (or parent directory of searched directory). #- this is used to probe for a possible hdlist file. |