aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'build-docbook-catalog')
-rwxr-xr-xbuild-docbook-catalog3
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