On Sat, 29 Dec 2007 20:31:21 -0800, Russ Allbery wrote: > > 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 Looks better IMO than unconditionally deleting any empty directory. 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: Status Quo: I Didn't Mean It
Attachment:
signature.asc
Description: Digital signature