From a13241fe10c087d405bc928911e705b595669559 Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Tue, 29 Apr 2003 05:55:03 +0000 Subject: [PATCH] Start the find at ${LOCALBASE}/share to avoid a potential search through something like a cvsup server's symlinks. Pointed out by: sf --- textproc/scrollkeeper/pkg-install | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/textproc/scrollkeeper/pkg-install b/textproc/scrollkeeper/pkg-install index 12d878fdb37c..85d16db25bad 100644 --- a/textproc/scrollkeeper/pkg-install +++ b/textproc/scrollkeeper/pkg-install @@ -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