[packages/adapter: 222/631] - prevent adapter tabbing %define lines

glen glen at pld-linux.org
Mon Sep 12 19:53:04 CEST 2016


commit a39ddef5b362f460ac7333f9a80ccd3b607d619e
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Mon Nov 28 22:46:36 2005 +0000

    - prevent adapter tabbing %define lines
    
    Changed files:
        adapter.awk -> 1.213

 adapter.awk | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/adapter.awk b/adapter.awk
index 1c33ecc..67b05c4 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -151,6 +151,10 @@ preamble == 1 {
 		next
 	if ($2 == "date")
 		date = 1
+
+	# do nothing further, otherwise adapter thinks we're at preamble
+	print
+	next
 }
 
 # Obsolete
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list