X-Git-Url: https://git.p6c8.net/devedit.git/blobdiff_plain/8dcb325f0725e7de24ed7115da986b579e7e2e5d..d9362f04f15b187354119c4cc835f77103985379:/modules/Tool.pm?ds=sidebyside diff --git a/modules/Tool.pm b/modules/Tool.pm index 23770a1..afffeb3 100644 --- a/modules/Tool.pm +++ b/modules/Tool.pm @@ -6,7 +6,7 @@ package Tool; # Some shared sub routines # # Author: Patrick Canterino -# Last modified: 2005-02-13 +# Last modified: 2005-04-22 # use strict; @@ -61,6 +61,7 @@ sub check_path($$) # We extract the last part of the path and create the absolute path my $first = upper_path($path); + $first = File::Spec->canonpath($first); $first = abs_path($first); my $last = file_name($path);