aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/scrollkeeper
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2002-08-28 10:48:56 +0800
committermarcus <marcus@FreeBSD.org>2002-08-28 10:48:56 +0800
commit4befe2a619be4d571b50754e7b2f3f8c207157a6 (patch)
tree9048f437e781b960afb963aaba9dde7689a45770 /textproc/scrollkeeper
parentb0d0b229828fdcb9b43d8b6a466750cdf502fa95 (diff)
downloadfreebsd-ports-gnome-4befe2a619be4d571b50754e7b2f3f8c207157a6.tar.gz
freebsd-ports-gnome-4befe2a619be4d571b50754e7b2f3f8c207157a6.tar.zst
freebsd-ports-gnome-4befe2a619be4d571b50754e7b2f3f8c207157a6.zip
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>
Diffstat (limited to 'textproc/scrollkeeper')
-rw-r--r--textproc/scrollkeeper/pkg-install6
1 files changed, 3 insertions, 3 deletions
diff --git a/textproc/scrollkeeper/pkg-install b/textproc/scrollkeeper/pkg-install
index 8c83f70aafa5..2cac192012af 100644
--- a/textproc/scrollkeeper/pkg-install
+++ b/textproc/scrollkeeper/pkg-install
@@ -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