mbox

[dbscripts,0/3] Fix ambiguous uses of

Message ID 20180216034504.27610-1-eschwartz@archlinux.org
Headers show

Message

Emil Velikov via arch-projects Feb. 16, 2018, 3:45 a.m. UTC
This was sort of cobbled together and not really tested, so I'm not 100%
sure it will work, but it looks okay, so I am posting this to get more
eyes on it. I think I've actually gotten this to work properly, which is
yay, and support multiple extensions, which is meh but we may need this
as Luke said, if we ever decide to switch over. Which means it is
probably "more proper" to do so...

As a bonus, we get to micro-optimize a few external calls away which
saves us a handful of forked processes and should be just as fast not
counting a fraction of a second gained for all those forks?

Eli Schwartz (3):
  db-update: replace external find command with bash globbing
  ftpdir-cleanup,sourceballs: replace external find command with bash
    globbing
  Globally set $PKGEXT to a bash extended glob representing valid
    choices.

 config                   |  3 ++-
 cron-jobs/ftpdir-cleanup | 24 ++++++++++++++++++------
 cron-jobs/sourceballs    | 21 ++++++++++++++++-----
 db-functions             | 13 +++++++++++--
 db-update                |  9 ++++++---
 5 files changed, 53 insertions(+), 17 deletions(-)