summaryrefslogtreecommitdiffstats
path: root/perl-install/ftp.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-11-28 01:08:19 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-11-28 01:08:19 +0000
commite93ca98dd5aad191b20c0da0b86f21ad5e12dcd7 (patch)
tree5d8ac9bd4d464f80776fbded0d93152108323bdc /perl-install/ftp.pm
parentb0d554c4155060ed665844fdf7b2a08db9bb3356 (diff)
downloaddrakx-e93ca98dd5aad191b20c0da0b86f21ad5e12dcd7.tar
drakx-e93ca98dd5aad191b20c0da0b86f21ad5e12dcd7.tar.gz
drakx-e93ca98dd5aad191b20c0da0b86f21ad5e12dcd7.tar.bz2
drakx-e93ca98dd5aad191b20c0da0b86f21ad5e12dcd7.tar.xz
drakx-e93ca98dd5aad191b20c0da0b86f21ad5e12dcd7.zip
perl_checker adaptations
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 618943573..a04f8db87 100644
--- a/perl-install/ftp.pm
+++ b/perl-install/ftp.pm
@@ -11,7 +11,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{URLPREFIX} = "ftp://" . ($ENV{LOGIN} && ($ENV{LOGIN} . ($ENV{PASSWORD} && ":$ENV{PASSWORD}") . '@')) .
"$ENV{HOST}/$ENV{PREFIX}";
@ENV{qw(HOST PREFIX LOGIN PASSWORD)};
}