ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/gde/GCE/Util.pm
(Generate patch)

Comparing deliantra/gde/GCE/Util.pm (file contents):
Revision 1.16 by elmex, Sun Apr 2 18:32:42 2006 UTC vs.
Revision 1.17 by elmex, Tue Apr 4 11:29:54 2006 UTC

65} 65}
66 66
67sub map2abs { 67sub map2abs {
68 my ($dest, $mape) = @_; 68 my ($dest, $mape) = @_;
69 69
70 $mappath = abs_path $mappath;
70 my $dir; 71 my $dir;
71 if (File::Spec->file_name_is_absolute($dest)) { 72 if (File::Spec->file_name_is_absolute($dest)) {
72 $dir = catdir ($::CFG->{MAPDIR}, $dest); 73 $dir = catdir ($::CFG->{MAPDIR}, $dest);
73 } else { 74 } else {
74 my ($v, $p, $f) = File::Spec->splitpath ($mape->{path}); 75 my ($v, $p, $f) = File::Spec->splitpath ($mape->{path});

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines