1 |
commit: 913e4234fa43ae7e55e7b5f8bc16604df2c9417b |
2 |
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 2 10:28:00 2021 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 4 06:40:30 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=913e4234 |
7 |
|
8 |
cvs.eclass: Don't rely on sandbox internals |
9 |
|
10 |
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> |
11 |
|
12 |
eclass/cvs.eclass | 8 ++++---- |
13 |
1 file changed, 4 insertions(+), 4 deletions(-) |
14 |
|
15 |
diff --git a/eclass/cvs.eclass b/eclass/cvs.eclass |
16 |
index 2868cb31f31..34c32a4a419 100644 |
17 |
--- a/eclass/cvs.eclass |
18 |
+++ b/eclass/cvs.eclass |
19 |
@@ -257,10 +257,10 @@ cvs_fetch() { |
20 |
# just remove the last path element in the string) |
21 |
|
22 |
debug-print "${FUNCNAME}: checkout mode. creating cvs directory" |
23 |
- addwrite /foobar |
24 |
- addwrite / |
25 |
- mkdir -p "/${ECVS_TOP_DIR}" |
26 |
- export SANDBOX_WRITE="${SANDBOX_WRITE//:\/foobar:\/}" |
27 |
+ ( |
28 |
+ addwrite / |
29 |
+ mkdir -p "${ECVS_TOP_DIR}" || die "mkdir ${ECVS_TOP_DIR} failed" |
30 |
+ ) |
31 |
fi |
32 |
|
33 |
# In case ECVS_TOP_DIR is a symlink to a dir, get the real path, |