]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- avoid formatting comments in preambles
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 13 Feb 2006 12:43:29 +0000 (12:43 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    adapter.awk -> 1.276

adapter.awk

index 8eaa8c8cd0edabde91f98217c66d1d5f278ac891..f89c853b9c5f7ba685949861442f02c27e784d3a 100644 (file)
@@ -867,6 +867,9 @@ function fixedsub(s1,s2,t, ind) {
 # There should be one or two tabs after the colon.
 function format_preamble()
 {
+       if (/^#/) {
+               return;
+       }
        sub(/:[ \t]*/, ":")
        if (match($0, /[A-Za-z0-9(),#_ \t]+[ \t]*:[ \t]*/) == 1) {
                if (RLENGTH < 8)
This page took 0.050936 seconds and 4 git commands to generate.