On 5/23/12 12:50 AM, Allan McRae wrote:
On 23/05/12 14:35, Jeremy Huntwork wrote:
Hi,

In current makepkg, file name patterns specified in PURGE_TARGETS will
only match files (and not symlinks) due to:

find . -type f -name "${pt}" -exec rm -f -- '{}' \;

Is this intentional?


Seems an oversight to me.  I guess this was to avoid matching directories.

Ah, OK. Interesting that no one's encountered this yet. Well, the same command could be repeated on a second line with -type l, I suppose. Or you could try to add in an -o param.

JH


Reply via email to