[packages/adapter: 307/631] - fix long line wrapping (thx matowy)

glen glen at pld-linux.org
Mon Sep 12 20:00:11 CEST 2016


commit 7b868d98bd77e78cfc3b06ca86b31d2bc49965d8
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Sun Mar 19 00:35:47 2006 +0000

    - fix long line wrapping (thx matowy)
    
    Changed files:
        adapter.awk -> 1.297

 adapter.awk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/adapter.awk b/adapter.awk
index 200b128..2ad879e 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -255,7 +255,7 @@ function b_makekey(a, b,	s) {
 	}
 
 	# Format description
-	if (ENVIRON["SKIP_DESC"] != 1 && description == 1 && !$0 ~ SECTIONS && !/^%description/) {
+	if (ENVIRON["SKIP_DESC"] != 1 && description == 1 && !/^%[a-z]+/ && !/^%description/) {
 		if (/^[ \t]*$/) {
 			format_flush(format_line, format_indent)
 			print ""
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list