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

Re: RFS: plastex



On Fri, Jul 20, 2007 at 03:36:56PM +0200, François Févotte wrote:
> Hello,
>
> On 7/20/07, Carl Fürstenberg <azatoth@gmail.com> wrote:
>> lintian spits out warnings about -x flag on the py-files, as they all
>> has a shebang, also the setup.py generates a cgpdfpng that only will
>> work under OSX, but I don't know a good way to fix that.
>
> to remove unneeded shebang lines, I usually use a small perl script
> called at the end of debian/rules. I find this much more flexible than
> maintaining a set of patches.
Or sed -i -re '1{/^#!/d}'

I note that sed -n -i is a dangerous combination..



Reply to: