diff options
author | marcus <marcus@FreeBSD.org> | 2003-04-29 13:55:03 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2003-04-29 13:55:03 +0800 |
commit | 256b67eaef2ba2dd90b064f579e5ce2fdaf027bf (patch) | |
tree | f40dd7c5d8591cdd7801a088fce800f76ff9c822 | |
parent | 2fe532daa2d37931c2ef692f538a47060a5169cb (diff) | |
download | freebsd-ports-graphics-256b67eaef2ba2dd90b064f579e5ce2fdaf027bf.tar.gz freebsd-ports-graphics-256b67eaef2ba2dd90b064f579e5ce2fdaf027bf.tar.zst freebsd-ports-graphics-256b67eaef2ba2dd90b064f579e5ce2fdaf027bf.zip |
Start the find at ${LOCALBASE}/share to avoid a potential search through
something like a cvsup server's symlinks.
Pointed out by: sf
-rw-r--r-- | textproc/scrollkeeper/pkg-install | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/textproc/scrollkeeper/pkg-install b/textproc/scrollkeeper/pkg-install index 12d878fdb37..85d16db25ba 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 |