--- loncom/publisher/loncfile.pm 2005/04/07 06:56:24 1.67 +++ loncom/publisher/loncfile.pm 2005/05/25 22:27:17 1.68 @@ -9,7 +9,7 @@ # and displays a page showing the results of the action. # # -# $Id: loncfile.pm,v 1.67 2005/04/07 06:56:24 albertel Exp $ +# $Id: loncfile.pm,v 1.68 2005/05/25 22:27:17 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1111,8 +1111,8 @@ sub phasetwo { $main=$2; # Filename. } if($main=~m:\.(\w+)$:){ # Fixes problems with filenames with no extensions - $main=~s/\.\w+$//; #strip the extension $suffix=$1; #This is the actually filename extension if it exists + $main=~s/\.\w+$//; #strip the extension } my $dest; # On success this is where we'll go.