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

Re: Bug#458143: libpod-simple-perl FTBFS with perl from experimental



On Sun, 30 Dec 2007 13:41:06 +0100, gregor herrmann wrote:

> > We could do something like:
> > 
> >         [ ! -d $(TMP)/usr/lib/perl5 ] || \
> >             rmdir -p --ignore-fail-on-non-empty $(TMP)/usr/lib/perl5
> 
> Looks better IMO than unconditionally deleting any empty directory.

I have now
1) added an additional section to packagecheck (in svn under
   scripts/qa/) that changes the rmdir lines to this syntax
   (tested on trunk, but changes not committed)
2) manually fixed some "creative" versions of removal that were not
   caught by packagecheck's automagism (committed)

Comments/tests/improvements welcome!

Cheers,
gregor   
-- 
 .''`.   http://info.comodo.priv.at/ | gpg key ID: 0x00F3CFE4
 : :' :  debian: the universal operating system - http://www.debian.org/
 `. `'   member of https://www.vibe.at/ | how to reply: http://got.to/quote/
   `-    NP: U2: Zooropa

Attachment: signature.asc
Description: Digital signature


Reply to: