[packages/adapter] adapter unicode dash

glen glen at pld-linux.org
Wed Dec 28 20:44:14 CET 2016


commit 871101710f3f6c77a6652ad790985dc714f70a9b
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Dec 28 21:44:08 2016 +0200

    adapter unicode dash

 adapter.awk | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/adapter.awk b/adapter.awk
index 8c11973..214f50f 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -286,6 +286,7 @@ function b_makekey(a, b,	s) {
 
 	# try ASCII quotes and apostrophes
 	gsub(/’/, "'")
+	gsub(/—/, " - ")
 
 	# Format description
 	if (ENVIRON["SKIP_DESC"] != 1 && description == 1 && !/^%[a-z]+/ && !/^%description/) {
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/871101710f3f6c77a6652ad790985dc714f70a9b



More information about the pld-cvs-commit mailing list