[LON-CAPA-cvs] cvs: loncom /lonnet/perl lonnet.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Fri, 02 Jul 2004 21:55:13 -0000
albertel Fri Jul 2 17:55:13 2004 EDT
Modified files:
/loncom/lonnet/perl lonnet.pm
Log:
- stye police fixes, getting closer
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.519 loncom/lonnet/perl/lonnet.pm:1.520
--- loncom/lonnet/perl/lonnet.pm:1.519 Fri Jul 2 17:34:55 2004
+++ loncom/lonnet/perl/lonnet.pm Fri Jul 2 17:55:13 2004
@@ -1,7 +1,7 @@
# The LearningOnline Network
# TCP networking package
#
-# $Id: lonnet.pm,v 1.519 2004/07/02 21:34:55 banghart Exp $
+# $Id: lonnet.pm,v 1.520 2004/07/02 21:55:13 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -3589,16 +3589,16 @@
#
sub portfoliolist {
- my ($currentPath, $currentFile) = @_;
- my ($udom, $uname, $portfolioRoot);
- $uname=$ENV{'user.name'};
+ my ($currentPath, $currentFile) = @_;
+ my ($udom, $uname, $portfolioRoot);
+ $uname=$ENV{'user.name'};
$udom=$ENV{'user.domain'};
# really should interrogate the system for home directory information, but . . .
$portfolioRoot = '/home/httpd/lonUsers/'.$udom.'/';
$uname =~ /^(.?)(.?)(.?)/;
$portfolioRoot = $portfolioRoot.$1.'/'.$2.'/'.$3.'/'.$uname.'/userfiles/portfolio';
- my $listing = &reply('ls:'.$portfolioRoot.$currentPath, homeserver($uname,$udom));
- return $listing;
+ my $listing = &reply('ls:'.$portfolioRoot.$currentPath, &homeserver($uname,$udom));
+ return $listing;
}
sub portfoliomanage {