[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 09:47:28PM +0100, Josip Rodin wrote:
> On Mon, Mar 06, 2000 at 09:00:19PM +0100, Simon Richter 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.

-- 
 -----------=======-=-======-=========-----------=====------------=-=------
/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
`     bcollins@debian.org  --  bcollins@openldap.org  --  bmc@visi.net     '
 `---=========------=======-------------=-=-----=-===-======-------=--=---'


Reply to: