diff options
author | 2021-10-08 08:19:25 -0400 | |
---|---|---|
committer | 2021-10-08 08:19:25 -0400 | |
commit | 85b15e9f180c2237166eca4194a4d4bd107fa8c6 (patch) | |
tree | 15cda07d910507a3e7342b0f35d3b8c620a5bd57 | |
parent | tweak usage output to make --root argument clearer (diff) | |
download | build-docbook-catalog-85b15e9f180c2237166eca4194a4d4bd107fa8c6.tar.gz build-docbook-catalog-85b15e9f180c2237166eca4194a4d4bd107fa8c6.tar.bz2 build-docbook-catalog-85b15e9f180c2237166eca4194a4d4bd107fa8c6.zip |
add eprefix to lockdir #816747v2.1
Bug: https://bugs.gentoo.org/816747
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rwxr-xr-x | build-docbook-catalog | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/build-docbook-catalog b/build-docbook-catalog index b212822..aabc756 100755 --- a/build-docbook-catalog +++ b/build-docbook-catalog @@ -8,6 +8,7 @@ ROOTCONFDIR="${EPREFIX}"/etc/xml ROOTCATALOG=${ROOTCONFDIR}/catalog CATALOG=${ROOTCONFDIR}/docbook DOCBOOKDIR="${EPREFIX}"/usr/share/sgml/docbook +LOCKDIR=${EPREFIX}/run/lock DTDS=() SIMPLE_DTDS=() LATEST_DTD= @@ -66,7 +67,7 @@ main() { mkdir -p "${ROOT}${ROOTCONFDIR}" || error "could not create ${ROOTCONFDIR}" fi - local lock_dir="${ROOT}/run/lock" + local lock_dir="${ROOT}${LOCKDIR}" if [[ ! -d ${lock_dir} ]] ; then error "${lock_dir}: missing critical system path; please create it" fi |