X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=win32%2Fgenmk95.pl;h=8fe4f86dbfcff26b2fbca634b6bfca88ad271a2e;hb=4d4039e86a34bb28f77d249a187795388b4c762b;hp=6137ce2be6b77e2399de40c8e18a9fcfa05898e6;hpb=1d7c184104c076988718a01b77c8706aae05b092;p=p5sagit%2Fp5-mst-13.2.git diff --git a/win32/genmk95.pl b/win32/genmk95.pl index 6137ce2..8fe4f86 100644 --- a/win32/genmk95.pl +++ b/win32/genmk95.pl @@ -45,9 +45,12 @@ while (<$in>) next; } else { - seek ($out, -3, 2); # no recipe, so back up and undo grouping + if (!/^\t/) { + seek ($out, -4, 2); # no recipe, so back up and undo grouping + # should be -3, but MS has its CR/LF thing... + $inrec = 0; + } print $out "$_\n"; - $inrec = 0; next; } }