SPECS: builder - fixed nosource, more strict regex

glen glen at pld-linux.org
Sat Jan 21 00:46:59 CET 2006


Author: glen                         Date: Fri Jan 20 23:46:58 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fixed nosource, more strict regex

---- Files affected:
SPECS:
   builder (1.394 -> 1.395) 

---- Diffs:

================================================================
Index: SPECS/builder
diff -u SPECS/builder:1.394 SPECS/builder:1.395
--- SPECS/builder:1.394	Sat Jan 21 00:41:46 2006
+++ SPECS/builder	Sat Jan 21 00:46:53 2006
@@ -374,10 +374,10 @@
 
 	# make small dump cache
 	rpm_dump_cache=`echo "$rpm_dump" | awk '
-		/SOURCEURL[0-9]+/ {print}
-		/PATCHURL[0-9]+/  {print}
-		/:.*nosource.*1"/ {print}
-		/PACKAGE_/ {print}
+		$2 ~ /^SOURCEURL/ {print}
+		$2 ~ /^PATCHURL/  {print}
+		$2 ~ /^nosource/ {print}
+		$2 ~ /^PACKAGE_/ {print}
 	'`
 
 	update_shell_title "cache_rpm_dump: OK!"
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/builder?r1=1.394&r2=1.395&f=u



More information about the pld-cvs-commit mailing list