]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Recognize Makefile line continuations in fetchRegressOpts().
authorNoah Misch <noah@leadboat.com>
Thu, 18 Dec 2014 08:55:17 +0000 (03:55 -0500)
committerNoah Misch <noah@leadboat.com>
Thu, 18 Dec 2014 08:58:03 +0000 (03:58 -0500)
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.

src/tools/msvc/vcregress.pl

index 51c4685f5420cd267713261f5dc1bce21a68bd3b..65449b79eaa80d1ab6cde94da594e151d6cb2886 100644 (file)
@@ -219,6 +219,8 @@ sub fetchRegressOpts
     my $m = <$handle>;
     close($handle);
     my @opts;
+
+    $m =~ s{\\\r?\n}{}g;
     if ($m =~ /^\s*REGRESS_OPTS\s*=(.*)/m)
     {