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 $path=$_[1];
|
||||||
my $real_path="";
|
my $real_path="";
|
||||||
|
|
||||||
if ($dirname eq "" or $dirname eq ".") {
|
if ($dirname eq "" or $dirname eq "." or $dirname eq "./") {
|
||||||
$dirname=cwd;
|
$dirname=cwd;
|
||||||
} elsif ($dirname !~ m+^/+) {
|
} elsif ($dirname !~ m+^/+) {
|
||||||
$dirname=cwd . "/" . $dirname;
|
$dirname=cwd . "/" . $dirname;
|
||||||
|
|
Loading…
Reference in New Issue