[pacman-dev] help! - globbing not working in makepkg log cleanup
Allan McRae
allan at archlinux.org
Wed Mar 25 11:25:54 EDT 2009
Aaron Griffin wrote:
> On Wed, Mar 25, 2009 at 9:25 AM, Allan McRae <allan at archlinux.org> wrote:
>
>> Hi,
>>
>> For some reason, this line in the clean_up() function is not working:
>>
>> rm -f "${pkgname}-${pkgver}-${pkgrel}-${CARCH}.log*"
>>
>> Printing out the value shows everything looks OK but the * does not appear
>> to be wildcarding.
>>
>> To replicate, capy the abs files and "makepkg -Lf" a couple of times the
>> "makepkg -cf". Note the pkg and src directories get cleaned up but none of
>> the log files.
>>
>> Any ideas?
>>
>
> The * needs to be outside the quotes
Great! That fixes it. I wonder how long that has been broken....
Allan
More information about the pacman-dev
mailing list