From: Noah Misch Date: Thu, 18 Dec 2014 08:55:17 +0000 (-0500) Subject: Recognize Makefile line continuations in fetchRegressOpts(). X-Git-Tag: REL9_3_6~73 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a47f38e526f70b397c1941f331e729e5fab95d27;p=thirdparty%2Fpostgresql.git 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. --- diff --git a/src/tools/msvc/vcregress.pl b/src/tools/msvc/vcregress.pl index 30da0ba0e65..244c2b127a0 100644 --- a/src/tools/msvc/vcregress.pl +++ b/src/tools/msvc/vcregress.pl @@ -333,6 +333,8 @@ sub fetchRegressOpts my $m = <$handle>; close($handle); my @opts; + + $m =~ s{\\\r?\n}{}g; if ($m =~ /^\s*REGRESS_OPTS\s*=(.*)/m) {