SPECS: ocp.spec - simplified grep

qboosh qboosh at pld-linux.org
Thu Jan 8 17:28:02 CET 2009


Author: qboosh                       Date: Thu Jan  8 16:28:02 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- simplified grep

---- Files affected:
SPECS:
   ocp.spec (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: SPECS/ocp.spec
diff -u SPECS/ocp.spec:1.8 SPECS/ocp.spec:1.9
--- SPECS/ocp.spec:1.8	Tue Jan  6 11:44:36 2009
+++ SPECS/ocp.spec	Thu Jan  8 17:27:57 2009
@@ -44,7 +44,8 @@
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
-%{__sed} -i 's@<curses.h>@<ncurses/curses.h>@' `grep -R '<curses.h>' * | cut -d":" -f1`
+%{__sed} -i 's@<curses.h>@<ncurses/curses.h>@' `grep -r -l '<curses.h>' .`
+
 %build
 %configure \
 	--with-dir-suffix=""
@@ -78,6 +79,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2009/01/08 16:27:57  qboosh
+- simplified grep
+
 Revision 1.8  2009/01/06 10:44:36  lisu
 - more TODO
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/ocp.spec?r1=1.8&r2=1.9&f=u



More information about the pld-cvs-commit mailing list