[packages/adapter: 105/631] - don't touch /^#/ lines in descriptions

glen glen at pld-linux.org
Mon Sep 12 19:43:16 CEST 2016


commit 22622171e9c3a994cc83994129a57475c2fa95f4
Author: kura <kura at pld-linux.org>
Date:   Thu Apr 18 12:39:39 2002 +0000

    - don't touch /^#/ lines in descriptions
    
    Changed files:
        adapter.awk -> 1.105

 adapter.awk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/adapter.awk b/adapter.awk
index 2392ae5..d4fef6d 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -65,7 +65,7 @@ defattr == 1 {
 }
 
 # Comments
-/^#/ {
+/^#/ && (description == 0) {
 	if (/This file does not like to be adapterized!/) {
 		print			# print this message
 		while (getline)		# print the rest of spec as it is
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list