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

Re: RFS: for two orphaned packages



On Mon, May 10, 2004 at 02:17:18PM +0200, Bartosz Fenski aka fEnIo wrote:
> On Wed, May 05, 2004 at 08:12:37PM +0100, Adam D. Barratt wrote:
> > > <nitpick follows>
> > > PS: for i in images/*.ppm images/*.pbm; do rm -vf $$i.gz ... hurts my
> > > eyes. Please quote $$i.gz, ie.: "$$i.gz". ;-)
> > > PPS: I'd use sind find -print0 ... | xargs -0 rm ....
 
> > Even better, xargs -0r rm. That way, rm won't throw an error if no files
> > exist. (Yes, I know you know this :->)

> Ok now I changed dependencies to xlibmesa-gl-dev, xlibmesa-glu-dev.
 
> And I made changes to rules file so now I'm using:
 
>     -find images -name *.ppm.gz -print0 | xargs -0r rm -f
>     -find images -name *.pbm.gz -print0 | xargs -0r rm -f
 
> Hope this solves every issue talked on list.

Too easy. ;-) The wildcard (*.ppm.gz) needs to be quoted, otherwise
the shell will (try to) expand it before find sees it.

-find images -name '*.ppm.gz' ....

> Anyone willing to sponsor this package now? It's still orphaned ;)
[...]

I can upload it today in the evening.
                cu andreas



Reply to: