Suppress another CR in program output

This one was exposed by a12c75a10.

Backpatch to release 11 where check_pg_config was introduced.
This commit is contained in:
Andrew Dunstan 2019-09-30 15:48:54 -04:00
parent 5daf682cfc
commit 863fa43e32
1 changed files with 1 additions and 0 deletions

View File

@ -560,6 +560,7 @@ sub check_pg_config
\$stdout, '2>', \$stderr
or die "could not execute pg_config";
chomp($stdout);
$stdout =~ s/\r$//;
open my $pg_config_h, '<', "$stdout/pg_config.h" or die "$!";
my $match = (grep { /^$regexp/ } <$pg_config_h>);