[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFS: plastex



On Tue, Jul 24, 2007 at 11:01:06PM +0200, Carl Fürstenberg wrote:
> On 7/24/07, Justin Pryzby <justinpryzby@users.sourceforge.net> wrote:
> > Or sed -i -re '1{/^#!/d}'
> >
> > I note that sed -n -i is a dangerous combination..
> 
> How do you handle clean target then?
Do you mean how can you reverse the change to satisfy the policy
requirement that the sources, after clean, are indistinguishable from
the sources before?  Well, you can simply run the sed on only the
./debian/$package/{,usr/}{,s}bin/* since the whole installation
tree[s] are removed anyway.  I think any build-time munging of scripts
consistent with strict interpretation of this section of the policy
will have to act on ./debian/$package/ only or do something much less
elegant.

Justin



Reply to: