[1/3] winemaker: Don't destroy relative paths
André Hentschel
nerv at dawncrow.de
Wed Jun 12 16:00:10 CDT 2013
I added this line in 4dd043a5834a47a217dbfd71a514201f1dcea8e6
Not sure what my intention was years ago, but "./" can't disturb the code but removing them harms "../"
---
tools/winemaker | 1 -
1 file changed, 1 deletion(-)
diff --git a/tools/winemaker b/tools/winemaker
index c3921a1..3ddd834 100755
--- a/tools/winemaker
+++ b/tools/winemaker
@@ -1862,7 +1862,6 @@ sub search_from($$)
my $path=$_[1];
my $real_path="";
- $dirname =~ s/(\.\/)+//;
if ($dirname eq "" or $dirname eq "." or $dirname eq "./") {
$dirname=cwd;
} elsif ($dirname !~ m+^/+) {
--
1.8.1.2
More information about the wine-patches
mailing list