winemaker: Fix path handling for Current Working Directory.
This commit is contained in:
parent
ac6a18f1f6
commit
70fbe9770a
|
@ -1724,7 +1724,7 @@ sub search_from($$)
|
|||
my $path=$_[1];
|
||||
my $real_path="";
|
||||
|
||||
if ($dirname eq "" or $dirname eq ".") {
|
||||
if ($dirname eq "" or $dirname eq "." or $dirname eq "./") {
|
||||
$dirname=cwd;
|
||||
} elsif ($dirname !~ m+^/+) {
|
||||
$dirname=cwd . "/" . $dirname;
|
||||
|
|
Loading…
Reference in New Issue