diff options
-rwxr-xr-x | build-docbook-catalog | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build-docbook-catalog b/build-docbook-catalog index aabc756..1b4ccf3 100755 --- a/build-docbook-catalog +++ b/build-docbook-catalog @@ -8,7 +8,7 @@ ROOTCONFDIR="${EPREFIX}"/etc/xml ROOTCATALOG=${ROOTCONFDIR}/catalog CATALOG=${ROOTCONFDIR}/docbook DOCBOOKDIR="${EPREFIX}"/usr/share/sgml/docbook -LOCKDIR=${EPREFIX}/run/lock +LOCKDIR=${EPREFIX}/etc/xml/.lock DTDS=() SIMPLE_DTDS=() LATEST_DTD= @@ -69,7 +69,7 @@ main() { local lock_dir="${ROOT}${LOCKDIR}" if [[ ! -d ${lock_dir} ]] ; then - error "${lock_dir}: missing critical system path; please create it" + mkdir -p "${lock_dir}" fi local lock="${lock_dir}/build-docbook-catalog.lock" |