mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
Start the find at ${LOCALBASE}/share to avoid a potential search through
something like a cvsup server's symlinks. Pointed out by: sf
This commit is contained in:
parent
4388b0c683
commit
a13241fe10
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=79844
@ -32,7 +32,7 @@ fi
|
||||
#
|
||||
# find the prefix for DocBook DTD
|
||||
#
|
||||
found=`find ${PREFIX}/ -follow -name docbookx.dtd 2> /dev/null`
|
||||
found=`find ${PREFIX}/share/ -follow -name docbookx.dtd 2> /dev/null`
|
||||
if [ "$found" = "" ] ; then
|
||||
echo could not locate docbookx.dtd for DocBook XML
|
||||
exit 1
|
||||
@ -103,7 +103,7 @@ xmlcatalog --noout --add "delegateURI" \
|
||||
# find the prefix for ISO DocBook entities
|
||||
#
|
||||
top=`dirname $docbookdir`
|
||||
found=`find ${PREFIX}/ -follow -iname "iso*amsb.ent" 2> /dev/null`
|
||||
found=`find ${PREFIX}/share/ -follow -iname "iso*amsb.ent" 2> /dev/null`
|
||||
if [ "$found" = "" ] ; then
|
||||
echo could not locate iso-amsb.ent of ISO DocBook entities
|
||||
exit 1
|
||||
@ -191,7 +191,7 @@ xmlcatalog --noout --add "delegatePublic" \
|
||||
# find the prefix for XSLT stylesheets
|
||||
#
|
||||
top=`dirname $docbookdir`
|
||||
found=`find ${PREFIX}/ -follow -name chunk.xsl 2> /dev/null`
|
||||
found=`find ${PREFIX}/share/ -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 New Issue
Block a user