[LON-CAPA-cvs] cvs: loncom /publisher loncfile.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Wed, 26 May 2004 22:15:20 -0000
albertel Wed May 26 18:15:20 2004 EDT
Modified files:
/loncom/publisher loncfile.pm
Log:
- style police aren't happy, thinking of instituting a 'indent must not need to do anything' law
Index: loncom/publisher/loncfile.pm
diff -u loncom/publisher/loncfile.pm:1.53 loncom/publisher/loncfile.pm:1.54
--- loncom/publisher/loncfile.pm:1.53 Fri Apr 2 19:23:47 2004
+++ loncom/publisher/loncfile.pm Wed May 26 18:15:19 2004
@@ -9,7 +9,7 @@
# and displays a page showing the results of the action.
#
#
-# $Id: loncfile.pm,v 1.53 2004/04/03 00:23:47 www Exp $
+# $Id: loncfile.pm,v 1.54 2004/05/26 22:15:19 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1080,11 +1080,11 @@
if ($fn=~m:(.*)/([^/]+):) {
$dir=$1; # Directory path
$main=$2; # Filename.
- }
- if($main=~m:\.(\w+)$:){ # Fixes problems with filenames with no extensions
- $main=$`; #This is what is before the match (.) so it's just the main filename, yea it's nasty
- $suffix=$1; #This is the actually filename extension if it exists
- }
+ }
+ if($main=~m:\.(\w+)$:){ # Fixes problems with filenames with no extensions
+ $main=$`; #This is what is before the match (.) so it's just the main filename, yea it's nasty
+ $suffix=$1; #This is the actually filename extension if it exists
+ }
my $dest; # On success this is where we'll go.
&Debug($r,