1 |
commit: 881172c797de03a2d304ca200605ac9fa8f7df63 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 11 01:59:28 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 11 01:59:36 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=881172c7 |
7 |
|
8 |
app-text/build-docbook-catalog: use EROOT in mkdir |
9 |
|
10 |
Needed for e.g. Prefix. |
11 |
|
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
|
14 |
app-text/build-docbook-catalog/build-docbook-catalog-2.1.ebuild | 2 +- |
15 |
1 file changed, 1 insertion(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/app-text/build-docbook-catalog/build-docbook-catalog-2.1.ebuild b/app-text/build-docbook-catalog/build-docbook-catalog-2.1.ebuild |
18 |
index 87cfe4c3b89..3deb1d96043 100644 |
19 |
--- a/app-text/build-docbook-catalog/build-docbook-catalog-2.1.ebuild |
20 |
+++ b/app-text/build-docbook-catalog/build-docbook-catalog-2.1.ebuild |
21 |
@@ -34,6 +34,6 @@ pkg_postinst() { |
22 |
# New version -> regen files |
23 |
# See bug #816303 for rationale behind die |
24 |
# create directory if needed |
25 |
- mkdir -p /run/lock |
26 |
+ mkdir -p "${EROOT}"/run/lock |
27 |
build-docbook-catalog || die "Failed to regenerate docbook catalog. Is /run mounted?" |
28 |
} |