1 |
Dnia 2014-10-25, o godz. 12:53:15 |
2 |
Zac Medico <zmedico@g.o> napisał(a): |
3 |
|
4 |
> On 10/25/2014 09:15 AM, Michael Palimaka wrote: |
5 |
> > +eqalog() { |
6 |
> > + local tag=$1 x |
7 |
> > + shift |
8 |
> > + for x in "$@" ; do |
9 |
> > + echo "${tag}" "${x}" >> "${T}"/qa.log |
10 |
> > + done |
11 |
> > +} |
12 |
> > + |
13 |
> > +eqawarnlog() { |
14 |
> > + eqalog "$@" |
15 |
> > + shift |
16 |
> > + for x in "$@" ; do |
17 |
> > + eqawarn " $x" |
18 |
> > + done |
19 |
> > +} |
20 |
> > + |
21 |
> |
22 |
> These functions are internals, so they need to be prefixed with __ like |
23 |
> __eqalog and __eqawarnlog. |
24 |
|
25 |
eqawarnlog shouldn't be internal since we support adding QA checks |
26 |
in repositories. In fact, I am planning to move some Gentoo-specific QA |
27 |
checks out of portage code. |
28 |
|
29 |
-- |
30 |
Best regards, |
31 |
Michał Górny |