]> granicus.if.org Git - postgresql/commitdiff
Properly parse Makefile after change from := to =.
authorMagnus Hagander <magnus@hagander.net>
Tue, 13 Feb 2007 15:01:52 +0000 (15:01 +0000)
committerMagnus Hagander <magnus@hagander.net>
Tue, 13 Feb 2007 15:01:52 +0000 (15:01 +0000)
src/tools/msvc/Solution.pm

index 3be3e80c38501015cd2ec2a12f666b87a0d13e5c..79a3d82790b7afb5ece9d4b7c6e1b2aa5a5d8aa1 100644 (file)
@@ -218,7 +218,7 @@ EOF
 
        my $mf = Project::read_file('src\backend\catalog\Makefile');
        $mf =~ s{\\s*[\r\n]+}{}mg;
-       $mf =~ /^POSTGRES_BKI_SRCS\s*:=[^,]+,(.*)\)$/gm || croak "Could not find POSTGRES_BKI_SRCS in Makefile\n";
+       $mf =~ /^POSTGRES_BKI_SRCS\s*:?=[^,]+,(.*)\)$/gm || croak "Could not find POSTGRES_BKI_SRCS in Makefile\n";
        my @allbki = split /\s+/, $1;
     foreach my $bki (@allbki) {
                next if $bki eq "";