Author: saq Date: Thu Sep 15 23:29:49 2005 New Revision: 6392 Modified: cvs2svn-migration/trunk/migrator Log: - cut too much
Modified: cvs2svn-migration/trunk/migrator ============================================================================== --- cvs2svn-migration/trunk/migrator (original) +++ cvs2svn-migration/trunk/migrator Thu Sep 15 23:29:49 2005 @@ -105,7 +105,7 @@ # This part would have been easier in another language p1=Popen(["co","-p","-r"+rev,f[:-2]],stdout=PIPE,stderr=file("/dev/null","w")) # post-processing to maximize the chance of a successful parse - p2=Popen(["sed",r"/^Icon:/d;/^Serial:/d;/^%define.*_kernel_ver/d;s/^Copyright:/License:/;/^%prep/,+99999d"], + p2=Popen(["sed",r"/^Icon:/d;/^Serial:/d;/^%define.*_kernel_ver/d;s/^Copyright:/License:/;/^%prep/p;/^%prep/,+99999d"], stdin=p1.stdout,stdout=file(tmpspecfile,"w") ) if p1.wait()!=0 or p2.wait()!=0: _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit