aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-04-26 15:29:57 +0800
committermarcus <marcus@FreeBSD.org>2003-04-26 15:29:57 +0800
commit7d4e7bf921dc7af7cb2b5e386832be17bc89d57a (patch)
tree579128760c06611d91681bd980221e21fc6484a2
parentd831c8688bb8b630ea0ee6d84e8def098e212e1d (diff)
downloadfreebsd-ports-gnome-7d4e7bf921dc7af7cb2b5e386832be17bc89d57a.tar.gz
freebsd-ports-gnome-7d4e7bf921dc7af7cb2b5e386832be17bc89d57a.tar.zst
freebsd-ports-gnome-7d4e7bf921dc7af7cb2b5e386832be17bc89d57a.zip
Tell find to follow symlinks when searching for DocBook files.
PR: 51429 Submitted by: Martyn J.Pearce <fluffy@sixears.com>
-rw-r--r--textproc/scrollkeeper/pkg-install8
1 files changed, 3 insertions, 5 deletions
diff --git a/textproc/scrollkeeper/pkg-install b/textproc/scrollkeeper/pkg-install
index f31b77d36d95..12d878fdb37c 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}/ -name docbookx.dtd 2> /dev/null`
+found=`find ${PREFIX}/ -follow -name docbookx.dtd 2> /dev/null`
if [ "$found" = "" ] ; then
echo could not locate docbookx.dtd for DocBook XML
exit 1
@@ -103,8 +103,7 @@ xmlcatalog --noout --add "delegateURI" \
# find the prefix for ISO DocBook entities
#
top=`dirname $docbookdir`
-found=`find $top -iname "iso*amsb.ent" 2> /dev/null`
-found=`find ${PREFIX}/ -iname "iso*amsb.ent" 2> /dev/null`
+found=`find ${PREFIX}/ -follow -iname "iso*amsb.ent" 2> /dev/null`
if [ "$found" = "" ] ; then
echo could not locate iso-amsb.ent of ISO DocBook entities
exit 1
@@ -192,8 +191,7 @@ xmlcatalog --noout --add "delegatePublic" \
# find the prefix for XSLT stylesheets
#
top=`dirname $docbookdir`
-found=`find $top -name chunk.xsl 2> /dev/null`
-found=`find ${PREFIX}/ -name chunk.xsl 2> /dev/null`
+found=`find ${PREFIX}/ -follow -name chunk.xsl 2> /dev/null`
if [ "$found" = "" ] ; then
echo could not locate chunk-common.xsl of DocBook XSLT stylesheets
exit 1