1 |
On 31-10-2021 16:39:34 +0100, Etienne Buira wrote: |
2 |
> EPREFIX is given anyway (as $ROOT) when calling bootstrap-prefix.sh with |
3 |
> $1 and $2, and a (following) code sets a default value if empty. |
4 |
> --- |
5 |
> scripts/bootstrap-prefix.sh | 4 +--- |
6 |
> 1 file changed, 1 insertion(+), 3 deletions(-) |
7 |
> |
8 |
> diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh |
9 |
> index 0e21c83953..42b116b0e7 100755 |
10 |
> --- a/scripts/bootstrap-prefix.sh |
11 |
> +++ b/scripts/bootstrap-prefix.sh |
12 |
> @@ -2306,9 +2306,7 @@ EOF |
13 |
> echo |
14 |
> echo "It seems to me you are '${USER:-$(whoami 2> /dev/null)}' (${UID}), that looks cool to me." |
15 |
> |
16 |
> - # Expect noninteractive users to know what they do: |
17 |
> - # Take EPREFIX from argv1 (=ROOT), not from env var. |
18 |
> - [[ ${TODO} == 'noninteractive' ]] && EPREFIX=${ROOT} |
19 |
> + [[ -z "${EPREFIX}" ]] && EPREFIX="${ROOT}" |
20 |
|
21 |
can you move this one down to right before the while loop where EPREFIX |
22 |
is determined (line 2783), and add a brief explanation (comment) before it? |
23 |
|
24 |
While at it, can you please shorten the subject of the commit message to |
25 |
fit within 80 chars? |
26 |
|
27 |
Thanks, |
28 |
Fabian |
29 |
> |
30 |
> echo |
31 |
> echo "I'm going to check for some variables in your environment now:" |
32 |
> |
33 |
|
34 |
-- |
35 |
Fabian Groffen |
36 |
Gentoo on a different level |