SPECS: pearize.sh - prevent matching wrong define line

glen glen at pld-linux.org
Fri Sep 30 23:17:09 CEST 2005


Author: glen                         Date: Fri Sep 30 21:17:09 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- prevent matching wrong define line

---- Files affected:
SPECS:
   pearize.sh (1.11 -> 1.12) 

---- Diffs:

================================================================
Index: SPECS/pearize.sh
diff -u SPECS/pearize.sh:1.11 SPECS/pearize.sh:1.12
--- SPECS/pearize.sh:1.11	Thu Sep 29 20:06:21 2005
+++ SPECS/pearize.sh	Fri Sep 30 23:17:03 2005
@@ -72,7 +72,7 @@
 
 if grep -q '^%files tests' $template; then
 	sed -i -e '
-/^%define.*date/{
+/^%define.*date.*%/{
 i\
 %files tests\
 %defattr(644,root,root,755)\
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/pearize.sh?r1=1.11&r2=1.12&f=u




More information about the pld-cvs-commit mailing list