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

Re: Empty directories in multi-binary packages



On Mon, Mar 06, 2000 at 03:53:08PM -0500, Ben Collins wrote:
> > > I'm trying to put a multi-binary package together, and when I list the
> > > main package's contents, it contains a set of empty directories (those
> > > that were left behind from dh_movefiles). Is there any way to get rid of
> > > these other than manually rmdir'ing them after dh_movefiles?
> > 
> > Yes, you can `rm -r' them ;)
> > 
> > That dh_movefiles "feature" sucks, FWIW, IMHO.
> 
> rmdir -p --ignore-fail-on-non-empty `find debian/tmp -type d`
> 
> That should take care of them all.

And while we're at it, 

rmdir -p `find debian/tmp -type d -empty`

-- 
enJoy -*/\*- don't even try to pronounce my first name


Reply to: