[packages/adapter: 113/631] - hopefully fixed duplicate $ Log
glen
glen at pld-linux.org
Mon Sep 12 19:43:56 CEST 2016
commit 94c1cd30e85f82caeb77b92afd4d7adfdd8d4f47
Author: ankry <ankry at pld-linux.org>
Date: Mon Mar 3 15:58:39 2003 +0000
- hopefully fixed duplicate $ Log
Changed files:
adapter.awk -> 1.113
adapter.awk | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/adapter.awk b/adapter.awk
index 2bb2fdb..7c05551 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -273,9 +273,11 @@ defattr == 1 {
has_changelog = 1
# There should be some CVS keywords on the first line of %changelog.
if (boc == 1) {
- if (!/$.*Log.*$/)
- print "$" "Log:$" > changelog_file
- boc = 0
+ if (!/^$/) {
+ if (!/\$.*Log:.*\$/)
+ print "$x" "Log:$" > changelog_file
+ boc = 0
+ }
}
if (boc == 2) {
if (!/All persons listed below/) {
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885
More information about the pld-cvs-commit
mailing list