[LON-CAPA-cvs] cvs: loncom /lonnet/perl lonnet.pm

raeburn raeburn at source.lon-capa.org
Mon Nov 7 14:29:48 EST 2011


raeburn		Mon Nov  7 19:29:48 2011 EDT

  Modified files:              
    /loncom/lonnet/perl	lonnet.pm 
  Log:
  - Fix typo in rev. 1.1142.
  
  
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.1142 loncom/lonnet/perl/lonnet.pm:1.1143
--- loncom/lonnet/perl/lonnet.pm:1.1142	Mon Nov  7 18:27:19 2011
+++ loncom/lonnet/perl/lonnet.pm	Mon Nov  7 19:29:48 2011
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # TCP networking package
 #
-# $Id: lonnet.pm,v 1.1142 2011/11/07 18:27:19 raeburn Exp $
+# $Id: lonnet.pm,v 1.1143 2011/11/07 19:29:48 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -10276,8 +10276,8 @@
     if ($file=~m-^\Q$perlvar{'lonDocRoot'}\E-) {
 	$file=~s-^\Q$perlvar{'lonDocRoot'}\E--;
     } elsif ($file=~m-^\Q$perlvar{'lonUsersDir'}\E-) {
-	$file=~s{^/home/httpd/lonUsers/($match_domain)/./././($match_name)/userfiles/
-	    -/uploaded/$1/$2/-x;
+	$file=~s{^/home/httpd/lonUsers/($match_domain)/./././($match_name)/userfiles/}
+	        {/uploaded/$1/$2/}x;
     }
     if ($file=~ m{^/userfiles/}) {
 	$file =~ s{^/userfiles/}{/uploaded/};




More information about the LON-CAPA-cvs mailing list