ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/lib/collect.pl.in
(Generate patch)

Comparing deliantra/server/lib/collect.pl.in (file contents):
Revision 1.1.1.2 by elmex, Wed Feb 22 18:02:04 2006 UTC vs.
Revision 1.1.1.3 by elmex, Wed Mar 15 14:04:57 2006 UTC

220 220
221sub archsOut { 221sub archsOut {
222 local($dir) = shift; 222 local($dir) = shift;
223 223
224 foreach $arch (@archs) { 224 foreach $arch (@archs) {
225 # Assume the filename $arch begins with $dir. Assign the first path 225 # Assume the filename $arch begins with $dir. Assign all path name
226 # name component after $dir to $pathto. 226 # components after $dir to $pathto.
227 if($arch =~ /^\Q$dir\E\/([^\/]+)\/.*[.]arc$/) { 227 if($arch =~ /^\Q$dir\E\/(.*)\/[^\/]*[.]arc$/) {
228 $pathto = $1; 228 $pathto = $1;
229 } else { 229 } else {
230 &warn("cannot determine editor_folder from arch '$arch'"); 230 &warn("cannot determine editor_folder from arch '$arch'");
231 $pathto = ""; 231 $pathto = "";
232 } 232 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines