summaryrefslogtreecommitdiffstats
path: root/perl-install/ftp.pm
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-08-05 11:35:42 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-08-05 11:35:42 +0000
commitab1ca37cd7fc3710e9ea8564a33b6640cc16cb72 (patch)
treee010806c3501abb17cf97c2815c925ea02decde1 /perl-install/ftp.pm
parentb39a6277687e2e49faa971784c334479f487e23c (diff)
downloaddrakx-ab1ca37cd7fc3710e9ea8564a33b6640cc16cb72.tar
drakx-ab1ca37cd7fc3710e9ea8564a33b6640cc16cb72.tar.gz
drakx-ab1ca37cd7fc3710e9ea8564a33b6640cc16cb72.tar.bz2
drakx-ab1ca37cd7fc3710e9ea8564a33b6640cc16cb72.tar.xz
drakx-ab1ca37cd7fc3710e9ea8564a33b6640cc16cb72.zip
revert my bad change
Diffstat (limited to 'perl-install/ftp.pm')
-rw-r--r--perl-install/ftp.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/ftp.pm b/perl-install/ftp.pm
index 7f30daa69..c971898a1 100644
--- a/perl-install/ftp.pm
+++ b/perl-install/ftp.pm
@@ -12,7 +12,7 @@ my %hosts;
sub fromEnv() {
#- now URLPREFIX is generated from what is given by mdk-stage1 which is only this 4 variables.
$ENV{URLPREFIX} = "ftp://" . ($ENV{LOGIN} && ($ENV{LOGIN} . ($ENV{PASSWORD} && ":$ENV{PASSWORD}") . '@')) .
- $ENV{HOST} . ($ENV{PREFIX} =~ m|^/| || '/') . $ENV{PREFIX};
+ "$ENV{HOST}/$ENV{PREFIX}";
@ENV{qw(HOST PREFIX LOGIN PASSWORD)};
}