[packages/adapter: 14/631] version 0.9+ - added removing spaces from end of lines in %description
glen
glen at pld-linux.org
Mon Sep 12 19:35:38 CEST 2016
commit e1d468ed5b2e027187bcba93c48e04a75ba7ffa5
Author: kura <kura at pld-linux.org>
Date: Wed Jan 5 14:18:02 2000 +0000
version 0.9+
- added removing spaces from end of lines in %description
Changed files:
adapter.awk -> 1.14
adapter.awk | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/adapter.awk b/adapter.awk
index f315a3d..3bffb6c 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -1,6 +1,6 @@
#!/bin/awk -f
#
-# This is adapter v0.9. Adapter adapts .spec files for PLD.
+# This is adapter v0.9+. Adapter adapts .spec files for PLD.
# Copyright (C) 1999 Micha� Kuratczyk <kura at pld.org.pl>
BEGIN {
@@ -52,12 +52,14 @@ FNR == 1 {
if (length(line) + length(dt[i]) + 1 < tw)
line = line dt[i] " ";
else {
+ sub(/[ ]+$/, "", line);
print line;
line = "";
i--;
}
}
+ sub(/[ ]+$/, "", line);
print line "\n";
line = "";
delete dt;
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885
More information about the pld-cvs-commit
mailing list