[packages/adapter: 404/631] - one more place for unify_url

glen glen at pld-linux.org
Mon Sep 12 20:08:18 CEST 2016


commit ec30d23e017d0fef154d211d1450daf9e577eb0a
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Fri Apr 4 20:40:30 2008 +0000

    - one more place for unify_url
    
    Changed files:
        adapter.awk -> 1.386

 adapter.awk | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/adapter.awk b/adapter.awk
index 31bee4a..27d639d 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -1637,8 +1637,7 @@ function kill_preamble_macros()
 	if ($1 ~ /^URL:/ || $1 ~ /^Obsoletes:/) {
 		# NB! assigning $2 a value breaks tabbing
 		$2 = demacroize($2);
-		# unify sourceforge url
-		sub("\.sf\.net/$", ".sourceforge.net/", $2);
+		$2 = unify_url($2)
 	}
 }
 
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list