SPECS: ct-crm.spec - fix excess quotes, now config path replaced p...

glen glen at pld-linux.org
Thu Apr 20 20:12:59 CEST 2006


Author: glen                         Date: Thu Apr 20 18:12:59 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fix excess quotes, now config path replaced properly

---- Files affected:
SPECS:
   ct-crm.spec (1.13 -> 1.14) 

---- Diffs:

================================================================
Index: SPECS/ct-crm.spec
diff -u SPECS/ct-crm.spec:1.13 SPECS/ct-crm.spec:1.14
--- SPECS/ct-crm.spec:1.13	Thu Apr 20 20:10:45 2006
+++ SPECS/ct-crm.spec	Thu Apr 20 20:12:54 2006
@@ -43,18 +43,16 @@
 %patch1 -p1
 %patch2 -p1
 
-for i in *.php */*.php; do
-	%{__sed} -i -e '
-		s#\"config.inc.php\"#\"%{_sysconfdir}/config.inc.php\"#
-		s#\"includes/config.inc.php\"#\"%{_sysconfdir}/config.inc.php\"#
-	' $i
-done
+%{__sed} -i -e '
+	s#"config.inc.php"#"%{_sysconfdir}/config.inc.php"#
+	s#"includes/config.inc.php"#"%{_sysconfdir}/config.inc.php"#
+' *.php */*.php
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_appdir}/{Doc/manual_install,languages/polish},/etc/httpd,%{_sysconfdir}}
 
-for i in uploads modules languages includes images email ; do
+for i in uploads modules languages includes images email; do
 	cp -Rf $i $RPM_BUILD_ROOT%{_appdir}
 done
 install *.php *.js *.css $RPM_BUILD_ROOT%{_appdir}
@@ -101,6 +99,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.14  2006/04/20 18:12:54  glen
+- fix excess quotes, now config path replaced properly
+
 Revision 1.13  2006/04/20 18:10:45  glen
 - use webapps framework
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/ct-crm.spec?r1=1.13&r2=1.14&f=u



More information about the pld-cvs-commit mailing list