[arch-projects] [dbscripts] [PATCH 0/3] Fix ambiguous uses of

Eli Schwartz eschwartz at archlinux.org
Fri Feb 16 03:45:01 UTC 2018


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(-)

-- 
2.16.1


More information about the arch-projects mailing list