Commit 49936b31 authored by Serge Gautherie's avatar Serge Gautherie Committed by Alexandre Julliard

winapi: Use $cwd variable instead of pwd command.

parent 196cb7af
...@@ -54,7 +54,7 @@ BEGIN { ...@@ -54,7 +54,7 @@ BEGIN {
if($wine_dir =~ /^\./) { if($wine_dir =~ /^\./) {
$current_dir = "."; $current_dir = ".";
my $pwd; chomp($pwd = `pwd`); my $pwd; chomp($pwd = $cwd);
foreach my $n (1..((length($wine_dir) + 1) / 3)) { foreach my $n (1..((length($wine_dir) + 1) / 3)) {
$pwd =~ s/\/([^\/]*)$//; $pwd =~ s/\/([^\/]*)$//;
$current_dir = "$1/$current_dir"; $current_dir = "$1/$current_dir";
......
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