Mercurial > hg > aboriginal
view more/for-each-target.sh @ 1737:1acbe7e78d9d draft
Switch from bz2 to gz tarball output.
bz2 is slowly being replaced by lz variants, but gzip isn't going anywhere.
(It retains a niche as a streaming protocol, it's the 80/20 solution optimizing
for speed, low memory requirements, and simple compressor implementation.)
author | Rob Landley <rob@landley.net> |
---|---|
date | Fri, 20 Feb 2015 13:12:45 -0600 |
parents | 3a213739ee1c |
children |
line wrap: on
line source
#!/bin/bash # Iterate through every target architecture, running rest of command line # on each $TARGET. # If $FORK is set, run them in parallel with filtered output. . sources/utility_functions.sh || exit 1 [ -z "${ARCHES}" ] && ARCHES="$(ls sources/targets)" for TARGET in $ARCHES do [ ! -f "sources/targets/$TARGET" ] && continue announce "$TARGET running" maybe_fork "$* 2>&1 | maybe_quiet" done wait