From 5aaa6147d393547d4c5c0e123cc9d69c6d2103ed Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 1 Feb 2022 20:21:16 +0000 Subject: fixed erroneous references when installing xmlcatalogs --- repo/devel/docbook-xml.xibuild | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'repo/devel/docbook-xml.xibuild') diff --git a/repo/devel/docbook-xml.xibuild b/repo/devel/docbook-xml.xibuild index bda441c..e91cb05 100644 --- a/repo/devel/docbook-xml.xibuild +++ b/repo/devel/docbook-xml.xibuild @@ -17,13 +17,13 @@ package () { $PKG_DEST/usr/share/xml/docbook/stylesheet/docbook5 - if [ ! -e /etc/xml/docbook-$PKG_VER ]; then - xmlcatalog --noout --create /etc/xml/docbook-$PKG_VER + if [ ! -e $PKG_DEST/etc/xml/docbook-$PKG_VER ]; then + xmlcatalog --noout --create $PKG_DEST/etc/xml/docbook-$PKG_VER fi && xmlcatalog --noout --add "uri" \ "http://www.oasis-open.org/docbook/xml/$PKG_VER/rng/docbook.rng" \ - "file:///usr/share/xml/docbook/schema/rng/$PKG_VER/docbook.rng" \ + "file://$PKG_DEST/usr/share/xml/docbook/schema/rng/$PKG_VER/docbook.rng" \ $PKG_DEST/etc/xml/docbook-$PKG_VER && xmlcatalog --noout --add "uri" \ "http://docbook.org/xml/$PKG_VER/rng/docbook.rng" \ @@ -64,7 +64,7 @@ xmlcatalog --noout --add "uri" \ $PKG_DEST/etc/xml/docbook-$PKG_VER -xmlcatalog --noout --create /usr/share/xml/docbook/schema/rng/$PKG_VER/catalog.xml && +xmlcatalog --noout --create $PKG_DEST/usr/share/xml/docbook/schema/rng/$PKG_VER/catalog.xml && xmlcatalog --noout --add "uri" \ "http://docbook.org/xml/$PKG_VER/schemas/rng/docbook.schemas/rng" \ @@ -100,8 +100,8 @@ xmlcatalog --noout --add "uri" \ "docbook.schemas/sch" $PKG_DEST/usr/share/xml/docbook/schema/sch/$PKG_VER/catalog.xml -if [ ! -e /etc/xml/catalog ]; then - xmlcatalog --noout --create /etc/xml/catalog +if [ ! -e $PKG_DEST/etc/xml/catalog ]; then + xmlcatalog --noout --create $PKG_DEST/etc/xml/catalog fi && xmlcatalog --noout --add "delegatePublic" \ "-//OASIS//DTD DocBook XML $PKG_VER//EN" \ -- cgit v1.2.1