Tell find to follow symlinks when searching for DocBook files.
PR: 51429 Submitted by: Martyn J.Pearce <fluffy@sixears.com>
This commit is contained in:
parent
3df92522a4
commit
2ce3e3727b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=79665
1 changed files with 3 additions and 5 deletions
|
@ -32,7 +32,7 @@ fi
|
|||
#
|
||||
# find the prefix for DocBook DTD
|
||||
#
|
||||
found=`find ${PREFIX}/ -name docbookx.dtd 2> /dev/null`
|
||||
found=`find ${PREFIX}/ -follow -name docbookx.dtd 2> /dev/null`
|
||||
if [ "$found" = "" ] ; then
|
||||
echo could not locate docbookx.dtd for DocBook XML
|
||||
exit 1
|
||||
|
@ -103,8 +103,7 @@ xmlcatalog --noout --add "delegateURI" \
|
|||
# find the prefix for ISO DocBook entities
|
||||
#
|
||||
top=`dirname $docbookdir`
|
||||
found=`find $top -iname "iso*amsb.ent" 2> /dev/null`
|
||||
found=`find ${PREFIX}/ -iname "iso*amsb.ent" 2> /dev/null`
|
||||
found=`find ${PREFIX}/ -follow -iname "iso*amsb.ent" 2> /dev/null`
|
||||
if [ "$found" = "" ] ; then
|
||||
echo could not locate iso-amsb.ent of ISO DocBook entities
|
||||
exit 1
|
||||
|
@ -192,8 +191,7 @@ xmlcatalog --noout --add "delegatePublic" \
|
|||
# find the prefix for XSLT stylesheets
|
||||
#
|
||||
top=`dirname $docbookdir`
|
||||
found=`find $top -name chunk.xsl 2> /dev/null`
|
||||
found=`find ${PREFIX}/ -name chunk.xsl 2> /dev/null`
|
||||
found=`find ${PREFIX}/ -follow -name chunk.xsl 2> /dev/null`
|
||||
if [ "$found" = "" ] ; then
|
||||
echo could not locate chunk-common.xsl of DocBook XSLT stylesheets
|
||||
exit 1
|
||||
|
|
Loading…
Reference in a new issue