commit 70a1dc9e5e7f898616efa1113c7e3db1a50db5ca
Author: kura <[email protected]>
Date:   Tue Feb 19 13:13:26 2002 +0000

    - version 0.27
    - added removing of spaces and tabs from end of lines (as requested
      by GoTaR). I hope it won't break anything...
    
    Changed files:
        adapter.awk -> 1.102

 adapter.awk | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/adapter.awk b/adapter.awk
index 5a0c6d3..7a0cb88 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -1,6 +1,6 @@
 #!/bin/awk -f
 #
-# This is adapter v0.26. Adapter adapts .spec files for PLD.
+# This is adapter v0.27. Adapter adapts .spec files for PLD.
 #
 # Copyright (C) 1999-2001 PLD-Team <[email protected]>
 # Authors:
@@ -75,6 +75,7 @@ defattr == 1 {
        }
 
        # Generally, comments are printed without touching
+       sub(/[ \t]+$/, "")
        print $0
        next
 }
@@ -291,6 +292,7 @@ defattr == 1 {
                boc = 1
        }
 
+       sub(/[ \t]+$/, "")
        if (!/^%[a-z]+$/ || /changelog/)
                print > changelog_file
        else
@@ -489,6 +491,7 @@ preamble == 1 {
 {
        preamble = 1
        
+       sub(/[ \t]+$/, "")
        print
 }
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to