On 02/17/2018 02:29 PM, Luke Shumaker wrote:
> On Thu, 15 Feb 2018 22:45:03 -0500,
> Eli Schwartz via arch-projects wrote:
>> diff --git a/cron-jobs/ftpdir-cleanup b/cron-jobs/ftpdir-cleanup
>> index 2f3d5aa..2d33047 100755
>> --- a/cron-jobs/ftpdir-cleanup
>> +++ b/cron-jobs/ftpdir-cleanup
> ...
On Thu, 15 Feb 2018 22:45:03 -0500,
Eli Schwartz via arch-projects wrote:
> diff --git a/cron-jobs/ftpdir-cleanup b/cron-jobs/ftpdir-cleanup
> index 2f3d5aa..2d33047 100755
> --- a/cron-jobs/ftpdir-cleanup
> +++ b/cron-jobs/ftpdir-cleanup
...
> -if [ ${#old_pkgs[@]} -ge 1 ]; then
> +if ((
This fully removes the use of find from the codebase, leads to a
micro-optimization in a couple cases, and ensures that $PKGEXT is
consistently treated as a shell globbing character (which is important
because it is used as one).
Of the eight instances in these files:
- One was unnecessary as