1 |
Hi, |
2 |
|
3 |
Thank you for doing this. LGTM modulo a few nits below. |
4 |
|
5 |
On Sat, 2021-03-27 at 22:21 +0000, Sam James wrote: |
6 |
> - if [[ ${EBUILD_PHASE} != "unpack" && ${EBUILD_PHASE} != "prepare" ]]; then |
7 |
> - ewarn "QA Warning: running $1 in ${EBUILD_PHASE} phase" |
8 |
> + if [[ ${EBUILD_PHASE_FUNC} != "src_unpack" && ${EBUILD_PHASE_FUNC} != "src_prepare" ]] ; then |
9 |
|
10 |
Maybe use 'has' here? |
11 |
|
12 |
> + eqawarn "Running '${1}' in ${EBUILD_PHASE_FUNC} phase" |
13 |
> fi |
14 |
> |
15 |
> |
16 |
> |
17 |
> |
18 |
> |
19 |
> |
20 |
> |
21 |
> |
22 |
> if ${missing_ok} && ! type -P ${1} >/dev/null ; then |
23 |
> - einfo "Skipping '$*' due $1 not installed" |
24 |
> + einfo "Skipping '$*' because '${1}' not installed" |
25 |
|
26 |
...is not installed? ;-) |
27 |
|
28 |
|
29 |
-- |
30 |
Best regards, |
31 |
Michał Górny |