Gentoo Archives: gentoo-alt

From: Etienne Buira <etienne.buira.lists@××××.fr>
To: gentoo-alt@l.g.o
Subject: [gentoo-alt] [PATCH v2 2/3] scripts/bootstrap-prefix.sh: cleanup
Date: Sat, 04 Dec 2021 07:53:39
Message-Id: 270321aad703f2976abc788380b54cc4ce44839d.1638604209.git.etienne.buira.lists@free.fr
In Reply to: [gentoo-alt] [PATCH v2 1/3] scripts/bootstrap-prefix: bugfix: use given EPREFIX by Etienne Buira
1 This dir is unconditionaly created a few lines above
2
3 v2:
4 - shortened $subject
5
6 Thanks grobian for review
7 ---
8 scripts/bootstrap-prefix.sh | 1 -
9 1 file changed, 1 deletion(-)
10
11 diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh
12 index a2b1db7235..4d345ad437 100755
13 --- a/scripts/bootstrap-prefix.sh
14 +++ b/scripts/bootstrap-prefix.sh
15 @@ -565,7 +565,6 @@ do_tree() {
16 else
17 efetch "$1/$2" || return 1
18 fi
19 - [[ -e ${PORTDIR} ]] || mkdir -p ${PORTDIR}
20 einfo "Unpacking, this may take a while"
21 estatus "stage1: unpacking Portage tree"
22 bzip2 -dc ${DISTDIR}/$2 | \
23 --
24 2.32.0