23 May
2012
23 May
'12
6:23 a.m.
On 23/05/12 14:54, Jeremy Huntwork wrote:
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.
I guess "-type f -o -type l" is enough. Do you want to send the patch? Allan