summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-10-11 02:59:28 +0100
committerSam James <sam@gentoo.org>2021-10-11 02:59:36 +0100
commit881172c797de03a2d304ca200605ac9fa8f7df63 (patch)
treeb43c8d7ce5fd9e1606e4c2c7caa7477d7adfd895
parentprofiles/arch/arm: unmask ruby27 (diff)
downloadgentoo-881172c797de03a2d304ca200605ac9fa8f7df63.tar.gz
gentoo-881172c797de03a2d304ca200605ac9fa8f7df63.tar.bz2
gentoo-881172c797de03a2d304ca200605ac9fa8f7df63.zip
app-text/build-docbook-catalog: use EROOT in mkdir
Needed for e.g. Prefix. Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--app-text/build-docbook-catalog/build-docbook-catalog-2.1.ebuild2
1 files changed, 1 insertions, 1 deletions
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
index 87cfe4c3b89e..3deb1d96043e 100644
--- a/app-text/build-docbook-catalog/build-docbook-catalog-2.1.ebuild
+++ b/app-text/build-docbook-catalog/build-docbook-catalog-2.1.ebuild
@@ -34,6 +34,6 @@ pkg_postinst() {
# New version -> regen files
# See bug #816303 for rationale behind die
# create directory if needed
- mkdir -p /run/lock
+ mkdir -p "${EROOT}"/run/lock
build-docbook-catalog || die "Failed to regenerate docbook catalog. Is /run mounted?"
}