SPECS: pldnotify.awk - only googlecode.com/files urls

arekm arekm at pld-linux.org
Sun Aug 10 13:06:18 CEST 2008


Author: arekm                        Date: Sun Aug 10 11:06:18 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- only googlecode.com/files urls

---- Files affected:
SPECS:
   pldnotify.awk (1.57 -> 1.58) 

---- Diffs:

================================================================
Index: SPECS/pldnotify.awk
diff -u SPECS/pldnotify.awk:1.57 SPECS/pldnotify.awk:1.58
--- SPECS/pldnotify.awk:1.57	Sun Aug 10 12:54:20 2008
+++ SPECS/pldnotify.awk	Sun Aug 10 13:06:12 2008
@@ -1,7 +1,7 @@
 #!/bin/awk -f
 # $Revision$, $Date$
 #
-# Copyright (C) 2000-2006 PLD-Team <feedback at pld-linux.org>
+# Copyright (C) 2000-2008 PLD-Team <feedback at pld-linux.org>
 # Authors:
 #	Sebastian Zagrodzki <zagrodzki at pld-linux.org>
 #	Jacek Konieczny <jajcus at pld-linux.org>
@@ -162,7 +162,7 @@
 		if (DEBUG) print "sf url, mungled url to: " url
 	}
 
-	if (url ~ /^http:\/\/(.*)\.googlecode\.com\//) {
+	if (url ~ /^http:\/\/(.*)\.googlecode\.com\/files\//) {
 		gsub("^http://", "", url)
 		gsub("\..*", "", url)
 		url = "http://code.google.com/p/" url "/"
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/pldnotify.awk?r1=1.57&r2=1.58&f=u



More information about the pld-cvs-commit mailing list