1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-17 06:41:24 +03:00

Recognize Makefile line continuations in fetchRegressOpts().

Back-patch to 9.0 (all supported versions).  This is mere
future-proofing in the context of the master branch, but commit
f6dc6dd5ba54d52c0733aaafc50da2fbaeabb8b0 requires it of older branches.
This commit is contained in:
Noah Misch 2014-12-18 03:55:17 -05:00
parent 2ab19ce5e3
commit a47f38e526

View File

@ -333,6 +333,8 @@ sub fetchRegressOpts
my $m = <$handle>; my $m = <$handle>;
close($handle); close($handle);
my @opts; my @opts;
$m =~ s{\\\r?\n}{}g;
if ($m =~ /^\s*REGRESS_OPTS\s*=(.*)/m) if ($m =~ /^\s*REGRESS_OPTS\s*=(.*)/m)
{ {