diff options
Diffstat (limited to 'lib/Iurt/Chroot.pm')
-rw-r--r-- | lib/Iurt/Chroot.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Iurt/Chroot.pm b/lib/Iurt/Chroot.pm index 526263a..9b465de 100644 --- a/lib/Iurt/Chroot.pm +++ b/lib/Iurt/Chroot.pm @@ -82,7 +82,8 @@ sub clean_chroot { } my $mount_point = "$chroot/urpmi_medias/$count"; my $bind; - my ($url) = $m =~ s!^(http://|ftp://|file://)!!; + my ($url) = $m; + $url =~ s!^(http://|ftp://|file://)!!; if (($m =~ m/^(file:)/)) { $bind = "-o bind"; } |