summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-06-23 06:05:49 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-06-23 06:05:49 +0000
commita2023718dee4f8789fe6007ed6926ccdcb9886bd (patch)
tree54620aa2c9a30ef28b1598a667a614a5d258a8c8 /urpm
parent5f62ddd011390ffb7e1b36e474fb98c83ba1e77f (diff)
downloadurpmi-a2023718dee4f8789fe6007ed6926ccdcb9886bd.tar
urpmi-a2023718dee4f8789fe6007ed6926ccdcb9886bd.tar.gz
urpmi-a2023718dee4f8789fe6007ed6926ccdcb9886bd.tar.bz2
urpmi-a2023718dee4f8789fe6007ed6926ccdcb9886bd.tar.xz
urpmi-a2023718dee4f8789fe6007ed6926ccdcb9886bd.zip
Refactorisation error: urpmi.update was looping.
Diffstat (limited to 'urpm')
-rw-r--r--urpm/sys.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/urpm/sys.pm b/urpm/sys.pm
index a0096a42..97f37435 100644
--- a/urpm/sys.pm
+++ b/urpm/sys.pm
@@ -73,9 +73,10 @@ sub find_mntpoints {
#- try to follow symlink, too complex symlink graph may not be seen.
#- check the possible mount point.
my @paths = split '/', $dir;
+ my $pdir = '';
while (defined ($_ = shift @paths)) {
length($_) or next;
- my $pdir .= "/$_";
+ $pdir .= "/$_";
$pdir =~ s,/+,/,g; $pdir =~ s,/$,,;
if (exists($fstab{$pdir})) {
ref($infos) and push @mntpoints, $pdir;