aboutsummaryrefslogtreecommitdiff
path: root/textproc/scrollkeeper
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-04-29 05:55:03 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-04-29 05:55:03 +0000
commita13241fe10c087d405bc928911e705b595669559 (patch)
treefb6e198c0f1f064442eb5532515014dc249e6260 /textproc/scrollkeeper
parent4388b0c68344f469f6db6a98d8499f81d4d6b04f (diff)
downloadports-a13241fe10c087d405bc928911e705b595669559.tar.gz
ports-a13241fe10c087d405bc928911e705b595669559.zip
Start the find at ${LOCALBASE}/share to avoid a potential search through
something like a cvsup server's symlinks. Pointed out by: sf
Notes
Notes: svn path=/head/; revision=79844
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 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