X-Git-Url: https://git.p6c8.net/devedit.git/blobdiff_plain/0fb9dcffcc2a1be81de150bae084e195c5f66658..ee2055d94dacff3fa49097a0a2b3a1347cdbb9de:/modules/Tool.pm diff --git a/modules/Tool.pm b/modules/Tool.pm index 0b1159d..9ba39c2 100644 --- a/modules/Tool.pm +++ b/modules/Tool.pm @@ -76,7 +76,9 @@ sub check_path($$) # Windows allows to go upwards in a path using things like # "..." and "...." and so on - for(my $x=0;$xcanonpath($first); - $path = File::Spec->canonpath($path); + $path = File::Spec->canonpath($first.'/'.$last); # Check if the path is above the root directory