Commit c8f41548 authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

winemaker: Fix going up one directory level.

parent 4dd043a5
......@@ -1810,7 +1810,11 @@ sub search_from($$)
$real_path.="./";
} elsif ($component eq "..") {
# Go up one level
$dirname=dirname($dirname) . "/";
if ($dirname =~ /\.\.\/$/) {
$dirname.="../";
} else {
$dirname=dirname($dirname) . "/";
}
$real_path.="../";
} else {
# The file/directory may have been renamed before. Also try to
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment