SPECS: adapter.awk - one more place for unify_url

glen glen at pld-linux.org
Fri Apr 4 22:40:35 CEST 2008


Author: glen                         Date: Fri Apr  4 20:40:35 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- one more place for unify_url

---- Files affected:
SPECS:
   adapter.awk (1.385 -> 1.386) 

---- Diffs:

================================================================
Index: SPECS/adapter.awk
diff -u SPECS/adapter.awk:1.385 SPECS/adapter.awk:1.386
--- SPECS/adapter.awk:1.385	Fri Apr  4 22:39:48 2008
+++ SPECS/adapter.awk	Fri Apr  4 22:40:30 2008
@@ -1637,8 +1637,7 @@
 	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)
 	}
 }
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/adapter.awk?r1=1.385&r2=1.386&f=u



More information about the pld-cvs-commit mailing list