From: | Zac Medico <zmedico@g.o> | ||
---|---|---|---|
To: | gentoo-portage-dev@l.g.o | ||
Cc: | Michael Palimaka <kensington@g.o> | ||
Subject: | Re: [gentoo-portage-dev] [PATCH 1/3] bin/misc-functions.sh: Introduce eqalog and eqawarnlog functions. | ||
Date: | Sat, 25 Oct 2014 19:53:22 | ||
Message-Id: | 544BFFAB.3000608@gentoo.org | ||
In Reply to: | [gentoo-portage-dev] [PATCH 1/3] bin/misc-functions.sh: Introduce eqalog and eqawarnlog functions. by Michael Palimaka |
1 | On 10/25/2014 09:15 AM, Michael Palimaka wrote: |
2 | > +eqalog() { |
3 | > + local tag=$1 x |
4 | > + shift |
5 | > + for x in "$@" ; do |
6 | > + echo "${tag}" "${x}" >> "${T}"/qa.log |
7 | > + done |
8 | > +} |
9 | > + |
10 | > +eqawarnlog() { |
11 | > + eqalog "$@" |
12 | > + shift |
13 | > + for x in "$@" ; do |
14 | > + eqawarn " $x" |
15 | > + done |
16 | > +} |
17 | > + |
18 | |
19 | These functions are internals, so they need to be prefixed with __ like |
20 | __eqalog and __eqawarnlog. |
21 | -- |
22 | Thanks, |
23 | Zac |
Subject | Author |
---|---|
Re: [gentoo-portage-dev] [PATCH 1/3] bin/misc-functions.sh: Introduce eqalog and eqawarnlog functions. | Zac Medico <zmedico@g.o> |
Re: [gentoo-portage-dev] [PATCH 1/3] bin/misc-functions.sh: Introduce eqalog and eqawarnlog functions. | "Michał Górny" <mgorny@g.o> |