]> 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:57:48 +0000 (03:57 -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 8fd6cd40151a0393f54e7844c8c78a46c5e85e03..6fd1436bba6c3254780de46ff3a1576157177e7d 100644 (file)
@@ -246,6 +246,8 @@ sub fetchRegressOpts
     my $m = <$handle>;
     close($handle);
     my @opts;
+
+    $m =~ s{\\\r?\n}{}g;
     if ($m =~ /^\s*REGRESS_OPTS\s*=(.*)/m)
     {