SPECS: asciidoc.spec - run sed only on the first line

witekfl witekfl at pld-linux.org
Thu Jul 19 21:14:23 CEST 2007


Author: witekfl                      Date: Thu Jul 19 19:14:23 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- run sed only on the first line

---- Files affected:
SPECS:
   asciidoc.spec (1.14 -> 1.15) 

---- Diffs:

================================================================
Index: SPECS/asciidoc.spec
diff -u SPECS/asciidoc.spec:1.14 SPECS/asciidoc.spec:1.15
--- SPECS/asciidoc.spec:1.14	Wed Jul 18 21:00:41 2007
+++ SPECS/asciidoc.spec	Thu Jul 19 21:14:18 2007
@@ -40,7 +40,7 @@
 %setup -q
 
 %build
-sed -i -e 's|^#!/usr/bin/env python|#!/usr/bin/python|' asciidoc.py
+sed -i -e '1s|^#!/usr/bin/env python|#!/usr/bin/python|' asciidoc.py
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -84,6 +84,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.15  2007/07/19 19:14:18  witekfl
+- run sed only on the first line
+
 Revision 1.14  2007/07/18 19:00:41  witekfl
 - s|/#!/usr/bin/env python|#!/usr/bin/python|
 - rel 3
================================================================

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



More information about the pld-cvs-commit mailing list