mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-13 07:34:50 +00:00
Remove -L from the find command used to locate dtds. This flag proved
problematic for some users. Instead, fix it so that only ${LOCALBASE} will be followed if it is a symlink. PR: 42096 Tested by: John-David Childs <jdc@nterprise.net>
This commit is contained in:
parent
bf7cc65e3f
commit
18a6fc4d53
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=65131
@ -47,7 +47,7 @@ fi
|
||||
#
|
||||
# find the prefix for DocBook DTD
|
||||
#
|
||||
found=`find -L ${PREFIX} -name docbookx.dtd 2> /dev/null`
|
||||
found=`find ${PREFIX}/ -name docbookx.dtd 2> /dev/null`
|
||||
if [ "$found" = "" ] ; then
|
||||
echo could not locate docbookx.dtd for DocBook XML
|
||||
exit 1
|
||||
@ -119,7 +119,7 @@ xmlcatalog --noout --add "delegateURI" \
|
||||
#
|
||||
top=`dirname $docbookdir`
|
||||
found=`find $top -iname "iso*amsb.ent" 2> /dev/null`
|
||||
found=`find -L ${PREFIX} -iname "iso*amsb.ent" 2> /dev/null`
|
||||
found=`find ${PREFIX}/ -iname "iso*amsb.ent" 2> /dev/null`
|
||||
if [ "$found" = "" ] ; then
|
||||
echo could not locate iso-amsb.ent of ISO DocBook entities
|
||||
exit 1
|
||||
@ -208,7 +208,7 @@ xmlcatalog --noout --add "delegatePublic" \
|
||||
#
|
||||
top=`dirname $docbookdir`
|
||||
found=`find $top -name chunk.xsl 2> /dev/null`
|
||||
found=`find -L ${PREFIX} -name chunk.xsl 2> /dev/null`
|
||||
found=`find ${PREFIX} -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