• W-Mark Kubacki's avatar
    Convert the barbarism in dist/automate.sh to proper BASH structure · 74a5cb2f
    W-Mark Kubacki authored
        When thy variables henceforth accept blessed white-space,
        guided will thy scripture be along righteous path(s).
    
        -- 4 BASH 3:42
    
    Caddy's dist files sometimes ended up being owned by matt:staff or other
    quite arcane and/or frightening names. If someone extracting didn't pay
    attention a regular user who happened to have same uid by accident could
    later tamper with the files' contents. It's 0:0 from now on.
    
    Use all available threads when packaging distributables
    Caddy binaries will be added to their archives in-place: This change
    eliminates them being renamed within dist/builds one after another.
    As does 'gox', dist/automate.sh will spare one available thread if possible.
    74a5cb2f
automate.sh 1.99 KB