[pacman-dev] help! - globbing not working in makepkg log cleanup
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? Allan
On Wed, Mar 25, 2009 at 9:25 AM, Allan McRae <allan@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
Aaron Griffin wrote:
On Wed, Mar 25, 2009 at 9:25 AM, Allan McRae <allan@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
On Wed, Mar 25, 2009 at 5:25 PM, Allan McRae <allan@archlinux.org> wrote:
The * needs to be outside the quotes
Great! That fixes it. I wonder how long that has been broken....
Since Sun, 3 Jun 2007 00:59:54 http://projects.archlinux.org/?p=pacman.git;a=commitdiff;h=b69edc1c353281657...
participants (3)
-
Aaron Griffin
-
Allan McRae
-
Xavier