Module: wine Branch: master Commit: 49936b31b3155f5f0a76b6ebf941a4ac45b5015b URL: https://source.winehq.org/git/wine.git/?a=commit;h=49936b31b3155f5f0a76b6ebf...
Author: Serge Gautherie winehq-git_serge_180711@gautherie.fr Date: Sat Jul 25 21:35:09 2020 +0200
winapi: Use $cwd variable instead of pwd command.
Signed-off-by: Serge Gautherie winehq-git_serge_180711@gautherie.fr Signed-off-by: Francois Gouget fgouget@free.fr Signed-off-by: Alexandre Julliard julliard@winehq.org
---
tools/winapi/setup.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/winapi/setup.pm b/tools/winapi/setup.pm index ed0846049b..f23bba1ad1 100644 --- a/tools/winapi/setup.pm +++ b/tools/winapi/setup.pm @@ -54,7 +54,7 @@ BEGIN {
if($wine_dir =~ /^./) { $current_dir = "."; - my $pwd; chomp($pwd = `pwd`); + my $pwd; chomp($pwd = $cwd); foreach my $n (1..((length($wine_dir) + 1) / 3)) { $pwd =~ s//([^/]*)$//; $current_dir = "$1/$current_dir";