Don Armstrong <[EMAIL PROTECTED]> 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
> exist.

We could do something like:

        [ ! -d $(TMP)/usr/lib/perl5 ] || \
            rmdir -p --ignore-fail-on-non-empty $(TMP)/usr/lib/perl5

-- 
Russ Allbery ([EMAIL PROTECTED])               <http://www.eyrie.org/~eagle/>



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to