diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-03-27 22:44:46 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-03-27 22:44:46 +0000 |
commit | 40b906a6de8fd9b998436b620ff15dcee69e73aa (patch) | |
tree | da7a120d25d2f19b9c6506b2f6c9a28c237c55c7 | |
parent | check to see if DOCBOOKDIR exists before running `find` to avoid ugly errors ... (diff) | |
download | build-docbook-catalog-40b906a6de8fd9b998436b620ff15dcee69e73aa.tar.gz build-docbook-catalog-40b906a6de8fd9b998436b620ff15dcee69e73aa.tar.bz2 build-docbook-catalog-40b906a6de8fd9b998436b620ff15dcee69e73aa.zip |
drop hardcoded full paths as there is no need for that -- $PATH works just fine
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rwxr-xr-x | build-docbook-catalog | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/build-docbook-catalog b/build-docbook-catalog index f3246bd..c0f5f5d 100755 --- a/build-docbook-catalog +++ b/build-docbook-catalog @@ -1,5 +1,5 @@ #!/bin/bash -# $Header: /usr/local/src/gentoo/gentoo-src/cvsroot/gentoo-src/build-docbook-catalog/build-docbook-catalog,v 1.11 2012/03/27 22:41:10 vapier Exp $ +# $Header: /usr/local/src/gentoo/gentoo-src/cvsroot/gentoo-src/build-docbook-catalog/build-docbook-catalog,v 1.12 2012/03/27 22:44:46 vapier Exp $ # # build-docbook-catalog: populate /etc/xml/docbook based in # installed docbook-xml-dtd versions. @@ -114,7 +114,7 @@ set_dtds() { create_catalogs() { if [[ ! -r ${ROOTCATALOG} ]] ; then echo "Creating XML Catalog root ${ROOTCATALOG}" - /usr/bin/xmlcatalog --noout --create ${ROOTCATALOG} + xmlcatalog --noout --create ${ROOTCATALOG} if [[ ! -r ${ROOTCATALOG} ]] ; then error "failed creating ${ROOTCATALOG}" fi @@ -127,7 +127,7 @@ create_catalogs() { if [[ ! -r ${CATALOG} ]] ; then echo "Creating DocBook XML Catalog ${CATALOG}" - /usr/bin/xmlcatalog --noout --create ${CATALOG} + xmlcatalog --noout --create ${CATALOG} if [[ ! -r ${CATALOG} ]] ; then error "failed creating ${CATALOG}" fi |