Skip to content

Commit 55ffe1c

Browse files
committed
contrib/buildsystems: redirect stderr into the correct directory
The script assumes that we're in the top-level directory of the checkout. That does not need to be true. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent a78e1c5 commit 55ffe1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/buildsystems/engine.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ sub showUsage
8282
# Capture the make dry stderr to file for review (will be empty for a release build).
8383

8484
my $ErrsFile = "msvc-build-makedryerrors.txt";
85-
@makedry = `cd $git_dir && make -n MSVC=1 V=1 2>$ErrsFile` if !@makedry;
85+
@makedry = `make -C $git_dir -n MSVC=1 V=1 2>$ErrsFile` if !@makedry;
8686
# test for an empty Errors file and remove it
8787
unlink $ErrsFile if -f -z $ErrsFile;
8888

0 commit comments

Comments
 (0)