mirror of
https://github.com/postgres/postgres.git
synced 2025-05-03 22:24:49 +03:00
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:
parent
ca0b382850
commit
b60f9afcf4
@ -388,6 +388,7 @@ sub check_pg_config
|
|||||||
\$stdout, '2>', \$stderr
|
\$stdout, '2>', \$stderr
|
||||||
or die "could not execute pg_config";
|
or die "could not execute pg_config";
|
||||||
chomp($stdout);
|
chomp($stdout);
|
||||||
|
$stdout =~ s/\r$//;
|
||||||
|
|
||||||
open my $pg_config_h, '<', "$stdout/pg_config.h" or die "$!";
|
open my $pg_config_h, '<', "$stdout/pg_config.h" or die "$!";
|
||||||
my $match = (grep { /^$regexp/ } <$pg_config_h>);
|
my $match = (grep { /^$regexp/ } <$pg_config_h>);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user