[packages/adapter: 216/631] - strict URL: match

glen glen at pld-linux.org
Mon Sep 12 19:52:34 CEST 2016


commit cf038723fb199c9e25274d45ad24db5b409bac21
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Wed Oct 26 18:54:57 2005 +0000

    - strict URL: match
    
    Changed files:
        adapter.awk -> 1.207

 adapter.awk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/adapter.awk b/adapter.awk
index 6b4926f..0c39a12 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -571,7 +571,7 @@ preamble == 1 {
 		$1 = "Epoch:"
 
 	# proper caps
-	if (field ~ /url:/)
+	if (field ~ /^url:$/)
 		$1 = "URL:"
 
 	# Use %{name} and %{version} in the filenames in "Source:"
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list