live-build/functions
Lyndon Brown ca520eb5f0 split stdout & stderr auto colouring
thus for some reason if one is connected to a tty and the other a file,
we still get colour in the tty by default.

in terms of options, --color and --no-color override both, no granular
ones added since it's not worth it imo.

this is backwards compatible with custom configs setting `_COLOR`.

it could be argued that setting $_COLOR to "false" for the auto non-tty
cases is redundant, which it is, but it doesn't hurt to do so; it ensures
that if anything (inc. 3rd-party hooks and such) rely on it that it
remains correct; and ensures that if anything in the future mistakenly
uses $_COLOR instead of $_COLOR_OUT|$_COLOR_ERR that at least that will
only be broken for the use case of only one of stdout|sdterr being a tty.

Gbp-Dch: Ignore
2020-03-16 13:32:16 +00:00
..
aliases.sh amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
architectures.sh strip useless multi-arch separate directory stuff 2020-03-13 13:56:21 +00:00
arguments.sh split stdout & stderr auto colouring 2020-03-16 13:32:16 +00:00
bootloaders.sh functions/bootloaders: tidy and simplify 2020-03-13 16:03:48 +00:00
breakpoints.sh amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
cache.sh amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
chroot.sh amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
chroot_bind_path.sh amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
color.sh amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
common.sh amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
conffile.sh amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
configuration.sh amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
defaults.sh split stdout & stderr auto colouring 2020-03-16 13:32:16 +00:00
echo.sh split stdout & stderr auto colouring 2020-03-16 13:32:16 +00:00
exit.sh exit: don't convert numeric exit code to string 2020-03-13 16:06:20 +00:00
firmwarelists.sh amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
help.sh "Live Systems" -> "Debian Live" 2020-03-11 15:23:31 +00:00
init.sh amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
lockfile.sh locks: tidy lock acquisition 2020-03-13 15:37:38 +00:00
losetup.sh Revert "Test for executables: replace 'which' with more robust 'command -v'" 2020-03-12 12:32:26 +00:00
man.sh Revert "Test for executables: replace 'which' with more robust 'command -v'" 2020-03-12 12:32:26 +00:00
packagelists.sh amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
packages.sh Revert "Test for executables: replace 'which' with more robust 'command -v'" 2020-03-12 12:32:26 +00:00
sourcelist.sh amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
stagefile.sh amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
usage.sh amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00
wrapper.sh amend copyright & licensing blocks 2020-03-11 13:51:19 +00:00