Re: Bug#458143: libpod-simple-perl FTBFS with perl from experimental
Don Armstrong <email@example.com> writes:
> On Sat, 29 Dec 2007, Russ Allbery wrote:
>> Unfortunately, it'e exactly this that doesn't work, because that
>> command fails if the directory named doesn't exist. With Perl 5.8's
>> MakeMaker, it's created. With Perl 5.10's, it isn't, which causes any
>> package using that command to FTBFS.
> Ah; the problems with me not paying close enough attention....
> Probably just coupling it with a test statement would be best then,
> since that's the proper logic in all cases where those directories
We could do something like:
[ ! -d $(TMP)/usr/lib/perl5 ] || \
rmdir -p --ignore-fail-on-non-empty $(TMP)/usr/lib/perl5
Russ Allbery (firstname.lastname@example.org) <http://www.eyrie.org/~eagle/>