[packages/adapter: 111/631] - fix previous fix

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


commit 43fb677c3ec4b54d432e603617c40e9bc4ca2ed1
Author: ankry <ankry at pld-linux.org>
Date:   Mon Feb 17 21:00:38 2003 +0000

    - fix previous fix
    
    Changed files:
        adapter.awk -> 1.111

 adapter.awk | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/adapter.awk b/adapter.awk
index 258953c..66aec1b 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -273,9 +273,8 @@ defattr == 1 {
 	has_changelog = 1
 	# There should be some CVS keywords on the first line of %changelog.
 	if (boc == 1) {
-		if (!/\$Log$/) {
+		if (!/$.*Log.*$/)
 			print "$" "Log:$" > changelog_file
-		}
 		boc = 0
 	}
 	if (boc == 2) {
@@ -286,9 +285,8 @@ defattr == 1 {
 		boc = 0
 	}
 	if (boc == 3) {
-		if (!/PLD Team/) {
+		if (!/PLD Team/)
 			print "* %{date} PLD Team <feedback at pld.org.pl>" > changelog_file
-		}
 		boc = 2
 	}
 	# Define date macro.
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list