1 |
On 10/25/2014 12:54 PM, Zac Medico wrote: |
2 |
> On 10/25/2014 12:53 PM, Zac Medico wrote: |
3 |
>> On 10/25/2014 09:15 AM, Michael Palimaka wrote: |
4 |
>>> +eqalog() { |
5 |
>>> + local tag=$1 x |
6 |
>>> + shift |
7 |
>>> + for x in "$@" ; do |
8 |
>>> + echo "${tag}" "${x}" >> "${T}"/qa.log |
9 |
>>> + done |
10 |
>>> +} |
11 |
>>> + |
12 |
>>> +eqawarnlog() { |
13 |
>>> + eqalog "$@" |
14 |
>>> + shift |
15 |
>>> + for x in "$@" ; do |
16 |
>>> + eqawarn " $x" |
17 |
>>> + done |
18 |
>>> +} |
19 |
>>> + |
20 |
>> |
21 |
>> These functions are internals, so they need to be prefixed with __ like |
22 |
>> __eqalog and __eqawarnlog. |
23 |
>> |
24 |
> |
25 |
> Also, please unset them inside bin/save-ebuild-env.sh. |
26 |
> |
27 |
|
28 |
Actually, these suggestions are optional, since the environment from |
29 |
misc-functions.sh is never saved. However, if you wanted to move them to |
30 |
isolated-functions.sh, then these suggestions are mandatory. |
31 |
-- |
32 |
Thanks, |
33 |
Zac |