[pacman-dev] help! - globbing not working in makepkg log cleanup

Aaron Griffin aaronmgriffin at gmail.com
Wed Mar 25 10:41:21 EDT 2009

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

More information about the pacman-dev mailing list