From: Andrew Dunstan Date: Fri, 18 May 2018 14:46:38 +0000 (-0400) Subject: Prevent possibly spurious error when running perl -cw X-Git-Tag: REL_11_BETA1~27 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3dacd9bf32873c80045a2b758d64c031d70dac83;p=postgresql Prevent possibly spurious error when running perl -cw --- diff --git a/src/tools/msvc/Mkvcbuild.pm b/src/tools/msvc/Mkvcbuild.pm index 593732fd95..d0d7d46495 100644 --- a/src/tools/msvc/Mkvcbuild.pm +++ b/src/tools/msvc/Mkvcbuild.pm @@ -691,7 +691,7 @@ sub mkvcbuild (my $xsc = $xs) =~ s/\.xs/.c/; if (Solution::IsNewer("$plperlsrc$xsc", "$plperlsrc$xs")) { - my $xsubppdir = first { -e "$_/ExtUtils/xsubpp" } @INC; + my $xsubppdir = first { -e "$_/ExtUtils/xsubpp" } (@INC); print "Building $plperlsrc$xsc...\n"; system( $solution->{options}->{perl} . '/bin/perl '